:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-card: rgba(255, 255, 255, 0.82);
  --text: #070b18;
  --muted: #626978;
  --line: rgba(7, 11, 24, 0.1);
  --blue: #005dff;
  --violet: #7c3cff;
  --cyan: #00d8ff;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.11);
  --shadow-soft: 0 14px 36px rgba(15, 23, 42, 0.08);
  --radius: 28px;
  --radius-sm: 18px;
  --container: min(1180px, calc(100% - 36px));
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  touch-action: pan-y;
}

body {
  width: 100%;
  max-width: 100%;
  min-width: 320px;
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body.dark-mode {
  --bg: #070b18;
  --bg-soft: #0d1324;
  --bg-card: rgba(16, 24, 43, 0.82);
  --text: #f8fbff;
  --muted: #a5aec4;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.25);
}

body.menu-open {
  overflow: hidden;
}

img, svg, video, canvas {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  z-index: -1;
  background-image: radial-gradient(rgba(0, 0, 0, 0.13) 0.8px, transparent 0.8px);
  background-size: 26px 26px;
}

.cursor-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 93, 255, 0.13), transparent 65%);
  transition: opacity 0.2s ease;
}

.section-pad {
  padding: 116px 0;
}

.light-section {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(22px);
  transform: translateY(-16px);
  opacity: 0;
  animation: headerEnter 0.8s ease forwards 0.2s;
}

body.dark-mode .site-header {
  background: rgba(7, 11, 24, 0.75);
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

@keyframes headerEnter {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand,
.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.18rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 14px 26px rgba(0, 93, 255, 0.28);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

body.dark-mode .desktop-nav {
  background: rgba(255, 255, 255, 0.04);
}

.desktop-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  transition: 0.25s ease;
}

.desktop-nav a:hover {
  color: var(--text);
  background: var(--bg-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-dropdown {
  position: relative;
  z-index: 140;
  flex: 0 0 auto;
}

.lang-current {
  height: 42px;
  min-width: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-card) 92%, transparent);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.lang-current:hover,
.lang-dropdown.open .lang-current {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--blue) 40%, var(--line));
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.16);
  background: var(--bg-card);
}

.lang-caret {
  display: inline-block;
  font-size: 0.9rem;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 0.25s ease;
}

.lang-dropdown.open .lang-caret {
  transform: rotate(180deg) translateY(1px);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  min-width: 128px;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-card) 94%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top right;
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

html[dir="rtl"] .lang-menu {
  transform-origin: top left;
}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.lang-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 13px;
  border-radius: 13px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.lang-menu a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  transform: translateX(2px);
}

html[dir="rtl"] .lang-menu a:hover {
  transform: translateX(-2px);
}

.mobile-lang-dropdown {
  display: none;
}

.mobile-native-lang {
  display: none;
  position: relative;
  z-index: 160;
}

.mobile-native-lang select {
  width: 72px;
  height: 40px;
  padding: 0 28px 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-card) 94%, transparent);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 17px,
    calc(100% - 12px) 17px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

html[dir="rtl"] .mobile-native-lang select {
  padding: 0 13px 0 28px;
  background-position: 12px 17px, 17px 17px;
}


.theme-toggle,
.menu-toggle {
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  padding: 12px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 999px;
  transition: 0.25s ease;
}

.mobile-menu {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.01);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 18px 36px rgba(0, 93, 255, 0.25);
}

.btn-dark {
  color: white;
  background: #070b18;
  box-shadow: 0 18px 34px rgba(7, 11, 24, 0.2);
}

body.dark-mode .btn-dark {
  color: #070b18;
  background: #ffffff;
}

.btn-ghost {
  border-color: var(--line);
  background: var(--bg-card);
  color: var(--text);
}

.btn-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 93, 255, 0.14), transparent 34%),
    radial-gradient(circle at 80% 15%, rgba(124, 60, 255, 0.15), transparent 30%);
  pointer-events: none;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.58;
}

.shape-one {
  width: 260px;
  height: 260px;
  left: -80px;
  top: 15%;
  background: linear-gradient(135deg, rgba(0, 93, 255, 0.18), rgba(0, 216, 255, 0.05));
}

.shape-two {
  width: 340px;
  height: 340px;
  right: -120px;
  bottom: 8%;
  background: linear-gradient(135deg, rgba(124, 60, 255, 0.18), rgba(0, 216, 255, 0.06));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 70px;
}

.badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge {
  padding: 10px 14px;
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  letter-spacing: 0;
  text-transform: none;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.12);
}

.hero-title {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 6.9rem);
  line-height: 0.93;
  letter-spacing: -0.085em;
  font-weight: 900;
}

.hero-subtitle {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.hero-buttons,
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  gap: 12px;
  margin-top: 40px;
}

.hero-proof div,
.stats-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-card);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.hero-proof strong,
.stats-grid strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
}

.hero-proof span,
.stats-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
  perspective: 1100px;
}

.premium-panel {
  position: relative;
  width: min(100%, 500px);
  min-height: 560px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 42px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.42)),
    radial-gradient(circle at 20% 10%, rgba(0, 93, 255, 0.18), transparent 34%),
    radial-gradient(circle at 80% 65%, rgba(124, 60, 255, 0.18), transparent 38%);
  box-shadow: var(--shadow);
  transform: rotateX(5deg) rotateY(-7deg);
  animation: panelFloat 7s ease-in-out infinite;
  overflow: hidden;
  backdrop-filter: blur(24px);
}

body.dark-mode .premium-panel {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(155deg, rgba(16, 24, 43, 0.92), rgba(16, 24, 43, 0.48)),
    radial-gradient(circle at 20% 10%, rgba(0, 93, 255, 0.18), transparent 34%),
    radial-gradient(circle at 80% 65%, rgba(124, 60, 255, 0.18), transparent 38%);
}

@keyframes panelFloat {
  0%, 100% { transform: rotateX(5deg) rotateY(-7deg) translateY(0); }
  50% { transform: rotateX(2deg) rotateY(-3deg) translateY(-18px); }
}

.panel-topbar {
  display: flex;
  gap: 8px;
}

.panel-topbar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(7, 11, 24, 0.25);
}

.panel-hero-card {
  margin-top: 44px;
  padding: 26px;
  border-radius: 30px;
  color: white;
  background: linear-gradient(135deg, #071427, #005dff 48%, #7c3cff);
  box-shadow: 0 26px 50px rgba(0, 93, 255, 0.26);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 190px;
}

.panel-hero-card span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.panel-hero-card h3 {
  margin: 14px 0 0;
  max-width: 280px;
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.mini-logo {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-weight: 900;
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  animation: floatCard 5.4s ease-in-out infinite;
}

body.dark-mode .floating-card {
  background: rgba(7, 11, 24, 0.72);
}

.card-a {
  left: -22px;
  top: 230px;
}

.card-b {
  right: -22px;
  bottom: 120px;
  animation-delay: -2s;
}

.card-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card small {
  color: var(--muted);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.panel-grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.panel-grid-cards span {
  min-height: 90px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.52);
}

body.dark-mode .panel-grid-cards span {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.panel-lines {
  margin-top: 26px;
}

.panel-lines i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(7, 11, 24, 0.08);
  margin-top: 12px;
}

body.dark-mode .panel-lines i {
  background: rgba(255, 255, 255, 0.08);
}

.panel-lines i:nth-child(1) { width: 92%; }
.panel-lines i:nth-child(2) { width: 64%; }
.panel-lines i:nth-child(3) { width: 78%; }

.glass-orbit {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 93, 255, 0.32), rgba(124, 60, 255, 0.12));
  filter: blur(0.2px);
}

.orbit-a {
  width: 120px;
  height: 120px;
  top: 45px;
  right: 36px;
  animation: orbitMove 10s ease-in-out infinite;
}

.orbit-b {
  width: 84px;
  height: 84px;
  bottom: 70px;
  left: 30px;
  animation: orbitMove 8s ease-in-out infinite reverse;
}

@keyframes orbitMove {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(22px, -28px); }
}

.section-heading {
  margin-bottom: 56px;
}

.section-heading.center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 60px;
}

.section-heading h2,
.why-copy h2,
.faq-copy h2,
.cta-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.7vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
  font-weight: 900;
}

.section-heading p,
.why-copy p,
.faq-copy p,
.cta-copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.work-card,
.service-card,
.trust-card,
.price-card,
.testimonial-card,
.faq-item,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.work-card,
.service-card,
.trust-card,
.process-step,
.price-card,
.testimonial-card,
.faq-item {
  position: relative;
  transition: transform 0.36s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.36s ease, border-color 0.36s ease;
}

.work-card::before,
.service-card::before,
.trust-card::before,
.process-step::before,
.price-card::before,
.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(135deg, rgba(0, 93, 255, 0.09), rgba(124, 60, 255, 0.07), transparent 58%);
  transition: opacity 0.36s ease;
}

.work-card > *,
.service-card > *,
.trust-card > *,
.process-step > *,
.price-card > *,
.testimonial-card > * {
  position: relative;
  z-index: 1;
}

.work-card:hover,
.service-card:hover,
.trust-card:hover,
.process-step:hover,
.price-card:hover,
.testimonial-card:hover {
  border-color: rgba(0, 93, 255, 0.22);
}

.work-card:hover::before,
.service-card:hover::before,
.trust-card:hover::before,
.process-step:hover::before,
.price-card:hover::before,
.testimonial-card:hover::before {
  opacity: 1;
}

.work-card a {
  display: block;
  height: 100%;
}

.work-image {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}

.preview-chip {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 9px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 11, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 30px rgba(7, 11, 24, 0.22);
  backdrop-filter: blur(16px);
  font-size: 0.78rem;
  font-weight: 900;
  transform: translateY(8px);
  opacity: 0;
  transition: 0.3s ease;
}

.work-card:hover .preview-chip {
  transform: translateY(0);
  opacity: 1;
}

.work-image img {
  width: 100%;
  aspect-ratio: 1.24 / 1;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.work-card:hover img {
  transform: scale(1.09);
}

.work-card:hover,
.service-card:hover,
.price-card:hover,
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.work-content,
.service-card,
.trust-card,
.price-card,
.testimonial-card {
  padding: 24px;
}

.work-content span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.work-content h3,
.service-card h3,
.trust-card h3,
.process-step h3,
.price-card h3 {
  margin: 8px 0 0;
  font-size: 1.32rem;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.work-content p,
.service-card p,
.trust-card p,
.process-step p,
.price-card p,
.testimonial-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 265px;
  transition: 0.3s ease;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 93, 255, 0.12), rgba(124, 60, 255, 0.12));
  font-size: 1.25rem;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--blue);
  font-weight: 900;
}

.service-card a span {
  transition: 0.25s ease;
}

.service-card a:hover span {
  transform: translateX(4px);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.trust-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: white;
  background: #070b18;
  font-weight: 900;
  font-size: 0.86rem;
}

body.dark-mode .trust-card span {
  color: #070b18;
  background: #ffffff;
}

.process-list {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process-list::before {
  content: "";
  position: absolute;
  left: 38px;
  top: 30px;
  bottom: 30px;
  width: 1px;
  background: var(--line);
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 24px;
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
}

.step-number {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-weight: 900;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  transition: 0.3s ease;
}

.price-card.featured {
  color: white;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #071427, #005dff 45%, #7c3cff);
  transform: translateY(-14px);
}

.price-card.featured::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -70%;
  width: 45%;
  height: 180%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: rotate(18deg);
  animation: cardShine 5.8s ease-in-out infinite;
}

@keyframes cardShine {
  0%, 58% { left: -70%; opacity: 0; }
  68% { opacity: 1; }
  100% { left: 120%; opacity: 0; }
}

.price-card.featured p,
.price-card.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.popular-label {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  color: #071427;
  background: white;
  font-size: 0.82rem;
  font-weight: 900;
}

.price {
  display: block;
  margin-top: 24px;
  font-size: 2.5rem;
  letter-spacing: -0.06em;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 30px;
  display: grid;
  gap: 12px;
}

.price-card li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 900;
}

.price-card.featured li::before {
  color: #ffffff;
}

.price-card .btn {
  margin-top: auto;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  transition: 0.3s ease;
}

.stars {
  color: #f59e0b;
  letter-spacing: 0.05em;
}

.client {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.client span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-weight: 900;
}

.client strong,
.client small {
  display: block;
}

.client small {
  color: var(--muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  text-align: left;
  font-weight: 900;
}

.faq-question b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-soft);
  transition: 0.25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.faq-item.active .faq-answer {
  max-height: 260px;
}

.faq-item.active .faq-question b {
  transform: rotate(45deg);
  color: white;
  background: var(--blue);
}

.final-cta {
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  right: -260px;
  top: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 93, 255, 0.12), transparent 64%);
}

.cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.72fr);
  gap: 60px;
  align-items: center;
}

.contact-form {
  padding: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 15px;
  color: var(--text);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--text);
  background: var(--bg-soft);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(0, 93, 255, 0.55);
  box-shadow: 0 0 0 5px rgba(0, 93, 255, 0.1);
}

.contact-form button {
  width: 100%;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 16px;
  margin-bottom: 14px;
  font-weight: 800;
}

.form-status.show {
  display: block;
  background: var(--bg-soft);
}

.form-status.success {
  color: #15803d;
  background: rgba(34, 197, 94, 0.1);
}

.form-status.error {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.1);
}

.site-footer {
  padding: 70px 0 30px;
  color: white;
  background: #070b18;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
}

.footer-brand .brand-mark {
  box-shadow: none;
}

.site-footer p,
.site-footer a,
.site-footer span {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer h4 {
  margin: 0 0 16px;
  color: white;
}

.site-footer a {
  display: block;
  margin-top: 10px;
  transition: color 0.25s ease;
}

.site-footer a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 18px 34px rgba(34, 197, 94, 0.35);
  font-size: 1.35rem;
  font-weight: 900;
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.04);
}

.reveal {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 0.85s cubic-bezier(0.2, 0.9, 0.2, 1), transform 0.85s cubic-bezier(0.2, 0.9, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-left {
  transform: translateX(-58px);
}

.reveal-right {
  transform: translateX(58px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 { transition-delay: 90ms; }
.delay-2 { transition-delay: 180ms; }
.delay-3 { transition-delay: 270ms; }


html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] body .desktop-nav,
html[dir="rtl"] body .header-actions,
html[dir="rtl"] body .hero-buttons,
html[dir="rtl"] body .cta-buttons,
html[dir="rtl"] body .panel-hero-card,
html[dir="rtl"] body .floating-card,
html[dir="rtl"] body .client,
html[dir="rtl"] body .footer-bottom {
  direction: rtl;
}

html[dir="rtl"] body .section-heading.center {
  text-align: center;
}

html[dir="rtl"] body .preview-chip {
  left: auto;
  right: 16px;
}

html[dir="rtl"] body .process-list::before {
  left: auto;
  right: 38px;
}

html[dir="rtl"] body .faq-question b {
  margin-right: auto;
  margin-left: 0;
}

@media (hover: none), (pointer: coarse) {
  .cursor-glow {
    display: none;
  }

  .preview-chip {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .why-grid,
  .cta-grid,
  .faq-grid,
  .section-heading.split {
    grid-template-columns: 1fr;
  }

  .hero-title {
    max-width: 900px;
  }

  .works-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-visual {
    min-height: 520px;
  }
}

@media (max-width: 820px) {
  .desktop-nav,
  .header-actions .btn-small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    display: grid;
    position: fixed;
    left: 18px;
    right: 18px;
    top: 88px;
    z-index: 99;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--bg-card);
    box-shadow: var(--shadow);
    backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.98);
    transition: 0.25s ease;
  }

  .menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .mobile-menu a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    font-weight: 900;
  }

  .mobile-menu a:last-child {
    margin-top: 12px;
    border: 0;
  }

  .mobile-lang-dropdown {
    display: block;
    width: 100%;
    margin: 10px 0 6px;
  }

  .mobile-lang-dropdown .lang-current {
    width: 100%;
    height: 48px;
    justify-content: space-between;
    padding-inline: 15px;
  }

  .mobile-lang-dropdown .lang-menu {
    position: static;
    display: none;
    min-width: 100%;
    margin-top: 8px;
    box-shadow: none;
    transform: none;
  }

  .mobile-lang-dropdown.open .lang-menu {
    display: grid;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .mobile-menu .lang-menu a {
    border: 0;
    margin: 0;
    padding: 11px 12px;
  }

  .menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .section-pad {
    padding: 86px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-grid {
    gap: 46px;
  }

  .header-lang {
    display: none;
  }

  .mobile-native-lang {
    display: block;
  }

  .site-header,
  main,
  section,
  .container,
  .hero,
  .site-footer {
    max-width: 100vw;
    overflow-x: clip;
  }

  .hero-bg-shape {
    animation: mobileBlobFloat 8s ease-in-out infinite;
  }

  .glass-orbit {
    animation: orbitMove 9s ease-in-out infinite;
  }

  .reveal {
    transform: translateY(34px) scale(0.985);
    transition-duration: 0.78s;
  }

  .reveal-left {
    transform: translateX(-26px) translateY(10px);
  }

  .reveal-right {
    transform: translateX(26px) translateY(10px);
  }

  .reveal.is-visible {
    transform: translate(0, 0) scale(1);
  }

  @keyframes mobileBlobFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, -18px, 0) scale(1.05); }
  }

  @keyframes mobilePanelFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  @keyframes mobileCardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }

  .hero-title {
    font-size: clamp(2.75rem, 12vw, 4.6rem);
  }

  .hero-proof,
  .works-grid,
  .services-grid,
  .pricing-grid,
  .testimonial-grid,
  .trust-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .premium-panel {
    width: min(100%, 500px);
    min-height: 500px;
    transform: none;
    animation: mobilePanelFloat 6.5s ease-in-out infinite;
  }

  .floating-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    max-width: 100%;
    margin-top: 14px;
    animation: mobileCardFloat 5s ease-in-out infinite;
  }

  .floating-card.card-b {
    animation-delay: -2s;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .header-actions { gap: 7px; }
  .mobile-native-lang select { width: 66px; height: 38px; font-size: 0.74rem; }
  .theme-toggle { width: 38px; height: 38px; }
  .menu-toggle { width: 42px; height: 38px; }

  :root {
    --container: min(100% - 24px, 1180px);
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .theme-toggle,
  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .header-actions {
    gap: 7px;
  }

  .header-lang .lang-current {
    min-width: 54px;
    padding: 0 10px;
  }

  .hero-title,
  .section-heading h2,
  .why-copy h2,
  .faq-copy h2,
  .cta-copy h2 {
    max-width: 100%;
    letter-spacing: -0.065em;
    text-wrap: balance;
  }

  .hero-title {
    font-size: clamp(2.28rem, 10.8vw, 3.55rem);
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 420px;
    overflow: hidden;
  }

  .premium-panel {
    width: min(100%, 410px);
    min-height: 430px;
    border-radius: 30px;
    padding: 18px;
  }

  .panel-hero-card h3 {
    font-size: 1.65rem;
  }

  .panel-grid-cards span {
    min-height: 74px;
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .process-list::before {
    display: none;
  }

  .work-content,
  .service-card,
  .trust-card,
  .price-card,
  .testimonial-card,
  .contact-form {
    padding: 20px;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }

  .work-card:active,
  .service-card:active,
  .price-card:active,
  .testimonial-card:active {
    transform: scale(0.99);
  }
}



/* =========================================================
   ZasCoding Premium Motion Upgrade
   Professional scroll directions + subtle box hover effects
   Works on desktop and mobile without changing the layout size.
========================================================= */
:root {
  --motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-fast: 360ms;
  --motion-slow: 920ms;
}

/* Header/nav micro motion */
.brand-mark,
.service-icon,
.step-number,
.theme-toggle,
.menu-toggle {
  transition: transform var(--motion-fast) var(--motion-ease), box-shadow var(--motion-fast) ease;
}

.brand:hover .brand-mark,
.theme-toggle:hover,
.menu-toggle:hover {
  transform: translateY(-2px) rotate(-4deg) scale(1.04);
}

.desktop-nav a,
.mobile-menu a {
  position: relative;
  overflow: hidden;
}

.desktop-nav a::after,
.mobile-menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--motion-ease);
}

.desktop-nav a:hover::after,
.mobile-menu a:not(.btn):hover::after {
  transform: scaleX(1);
}

html[dir="rtl"] body .desktop-nav a::after,
html[dir="rtl"] body .mobile-menu a:not(.btn)::after {
  transform-origin: right;
}

/* Stronger premium scroll reveal directions */
.reveal {
  transition:
    opacity var(--motion-slow) var(--motion-ease),
    transform var(--motion-slow) var(--motion-ease),
    filter var(--motion-slow) var(--motion-ease);
  filter: blur(8px);
}

.reveal-up {
  transform: translate3d(0, 56px, 0) scale(0.985);
}

.reveal-down {
  transform: translate3d(0, -56px, 0) scale(0.985);
}

.reveal-left {
  transform: translate3d(-76px, 18px, 0) scale(0.985) rotate(-1.4deg);
}

.reveal-right {
  transform: translate3d(76px, 18px, 0) scale(0.985) rotate(1.4deg);
}

.reveal.is-visible {
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
}

/* Automatic mixed directions for card groups */
.stagger-group > .reveal:nth-child(3n + 1) {
  transform: translate3d(-74px, 20px, 0) scale(0.982) rotate(-1.2deg);
}

.stagger-group > .reveal:nth-child(3n + 2) {
  transform: translate3d(0, -64px, 0) scale(0.982);
}

.stagger-group > .reveal:nth-child(3n + 3) {
  transform: translate3d(74px, 20px, 0) scale(0.982) rotate(1.2deg);
}

.stagger-group > .reveal.is-visible {
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
}

/* Premium box hover: soft lift, glow, border shine, and mouse tilt */
.work-card,
.service-card,
.trust-card,
.process-step,
.price-card,
.testimonial-card,
.faq-item,
.contact-form,
.hero-proof div,
.stats-grid div,
.premium-panel,
.floating-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --hover-y: 0px;
  --hover-scale: 1;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.work-card,
.service-card,
.trust-card,
.process-step,
.price-card,
.testimonial-card,
.faq-item,
.contact-form {
  isolation: isolate;
}

.work-card::after,
.service-card::after,
.trust-card::after,
.process-step::after,
.price-card::after,
.testimonial-card::after,
.faq-item::after,
.contact-form::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  background:
    radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 40%), rgba(0, 93, 255, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(0, 93, 255, 0.26), rgba(124, 60, 255, 0.14), transparent 52%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  padding: 1px;
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  transition: opacity 0.36s ease;
}

.work-card:hover,
.service-card:hover,
.trust-card:hover,
.process-step:hover,
.price-card:hover,
.testimonial-card:hover,
.faq-item:hover,
.contact-form:hover {
  --hover-y: -10px;
  --hover-scale: 1.012;
  transform: perspective(900px) translateY(var(--hover-y)) scale(var(--hover-scale)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  border-color: rgba(0, 93, 255, 0.28);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.14), 0 12px 30px rgba(0, 93, 255, 0.08);
}

.work-card:hover::after,
.service-card:hover::after,
.trust-card:hover::after,
.process-step:hover::after,
.price-card:hover::after,
.testimonial-card:hover::after,
.faq-item:hover::after,
.contact-form:hover::after {
  opacity: 1;
}

.service-card:hover .service-icon,
.process-step:hover .step-number,
.trust-card:hover span {
  transform: translateY(-3px) rotate(-5deg) scale(1.06);
  box-shadow: 0 16px 32px rgba(0, 93, 255, 0.18);
}

.work-card:hover .work-content h3,
.service-card:hover h3,
.trust-card:hover h3,
.process-step:hover h3,
.price-card:hover h3 {
  color: var(--blue);
}

/* A gentle moving shine on image cards */
.work-image::after,
.panel-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.24) 42%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--motion-ease);
}

.work-card:hover .work-image::after,
.premium-panel:hover .panel-hero-card::after {
  transform: translateX(120%);
}

.panel-hero-card {
  position: relative;
  overflow: hidden;
}

/* Buttons feel more premium */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: translateX(-120%);
  transition: transform 0.72s var(--motion-ease), opacity 0.25s ease;
}

.btn:hover::before {
  opacity: 1;
  transform: translateX(120%);
}

.btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 46px rgba(0, 93, 255, 0.22);
}

/* Hero visual idle motion: elegant, not aggressive */
.premium-panel {
  animation: panelBreath 7.5s ease-in-out infinite;
}

.floating-card.card-a {
  animation: floatPremiumA 5.8s ease-in-out infinite;
}

.floating-card.card-b {
  animation: floatPremiumB 6.3s ease-in-out infinite;
}

@keyframes panelBreath {
  0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50% { transform: translateY(-8px) rotateX(1.2deg) rotateY(-1.2deg); }
}

@keyframes floatPremiumA {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(8px, -12px, 0); }
}

@keyframes floatPremiumB {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-8px, -10px, 0); }
}

/* Mobile: keep all animation, but with smaller distances so it stays clean */
@media (max-width: 820px) {
  .reveal {
    filter: blur(5px);
    transition-duration: 780ms;
  }

  .reveal-up {
    transform: translate3d(0, 34px, 0) scale(0.988);
  }

  .reveal-down {
    transform: translate3d(0, -34px, 0) scale(0.988);
  }

  .reveal-left {
    transform: translate3d(-34px, 12px, 0) scale(0.988) rotate(-0.7deg);
  }

  .reveal-right {
    transform: translate3d(34px, 12px, 0) scale(0.988) rotate(0.7deg);
  }

  .stagger-group > .reveal:nth-child(3n + 1) {
    transform: translate3d(-32px, 14px, 0) scale(0.988) rotate(-0.6deg);
  }

  .stagger-group > .reveal:nth-child(3n + 2) {
    transform: translate3d(0, -34px, 0) scale(0.988);
  }

  .stagger-group > .reveal:nth-child(3n + 3) {
    transform: translate3d(32px, 14px, 0) scale(0.988) rotate(0.6deg);
  }

  .reveal.is-visible,
  .stagger-group > .reveal.is-visible {
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }

  .work-card:active,
  .service-card:active,
  .trust-card:active,
  .process-step:active,
  .price-card:active,
  .testimonial-card:active,
  .faq-item:active,
  .contact-form:active {
    transform: translateY(-4px) scale(0.995);
    box-shadow: var(--shadow-soft);
  }

  .premium-panel {
    animation: panelBreathMobile 6.5s ease-in-out infinite;
  }

  @keyframes panelBreathMobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
}

@media (max-width: 520px) {
  .stagger-group > .reveal:nth-child(3n + 1),
  .stagger-group > .reveal:nth-child(3n + 3) {
    transform: translate3d(0, 28px, 0) scale(0.99);
  }

  .stagger-group > .reveal:nth-child(3n + 2) {
    transform: translate3d(0, -28px, 0) scale(0.99);
  }

  .stagger-group > .reveal.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
  }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* Final safety: keep form/FAQ content above the glow border layer */
.faq-item,
.contact-form {
  position: relative;
}

.faq-item > *,
.contact-form > * {
  position: relative;
  z-index: 1;
}


/* =========================================================
   ZasCoding custom hero image mockup
   Replaces the built CSS mockup with a premium exported UI image.
   ========================================================= */
.hero-visual {
  min-height: 620px;
  overflow: visible;
}

.hero-preview-mockup {
  position: relative;
  width: min(100%, 660px);
  isolation: isolate;
  border-radius: 42px;
  transform-style: preserve-3d;
  animation: heroImageFloat 7.5s ease-in-out infinite;
}

.hero-preview-mockup picture,
.hero-preview-mockup img {
  display: block;
  width: 100%;
}

.hero-preview-mockup img {
  position: relative;
  z-index: 2;
  border-radius: 42px;
  transform: translateZ(0) scale(1.01);
  filter: saturate(1.04) contrast(1.02);
  box-shadow:
    0 42px 110px rgba(15, 23, 42, 0.14),
    0 20px 60px rgba(0, 93, 255, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  transition:
    transform 0.85s var(--motion-ease),
    filter 0.85s var(--motion-ease),
    box-shadow 0.85s var(--motion-ease);
}

.hero-preview-mockup::before {
  content: "";
  position: absolute;
  inset: 5% 6% -8%;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0, 93, 255, 0.26), rgba(124, 60, 255, 0.2));
  filter: blur(42px);
  opacity: 0.55;
  transform: translateY(20px);
}

.hero-preview-mockup::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.25) 42%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 1.1s var(--motion-ease);
}

.hero-preview-glow {
  position: absolute;
  z-index: 1;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.45;
  pointer-events: none;
}

.hero-preview-glow.glow-one {
  top: -38px;
  right: -28px;
  background: radial-gradient(circle, rgba(124, 60, 255, 0.28), transparent 68%);
  animation: orbitSoftOne 9s ease-in-out infinite;
}

.hero-preview-glow.glow-two {
  left: -48px;
  bottom: 8%;
  background: radial-gradient(circle, rgba(0, 93, 255, 0.22), transparent 70%);
  animation: orbitSoftTwo 10s ease-in-out infinite;
}

.hero-preview-mockup:hover img {
  transform: translateY(-8px) scale(1.035) rotateX(1.2deg) rotateY(-1.2deg);
  filter: saturate(1.1) contrast(1.04);
  box-shadow:
    0 52px 130px rgba(15, 23, 42, 0.18),
    0 24px 72px rgba(0, 93, 255, 0.17),
    inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.hero-preview-mockup:hover::after {
  transform: translateX(130%);
}

@keyframes heroImageFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg); }
  50% { transform: translate3d(0, -14px, 0) rotateX(1deg) rotateY(-1deg); }
}

@keyframes orbitSoftOne {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-18px, 16px, 0) scale(1.08); }
}

@keyframes orbitSoftTwo {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(20px, -12px, 0) scale(1.05); }
}

@media (max-width: 1100px) {
  .hero-preview-mockup {
    width: min(100%, 720px);
  }
}

@media (max-width: 820px) {
  .hero-visual {
    min-height: auto;
    margin-top: 10px;
  }

  .hero-preview-mockup {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    border-radius: 32px;
    animation: heroImageFloatMobile 6.5s ease-in-out infinite;
  }

  .hero-preview-mockup img {
    border-radius: 32px;
    box-shadow:
      0 26px 72px rgba(15, 23, 42, 0.12),
      0 14px 42px rgba(0, 93, 255, 0.10);
  }

  .hero-preview-mockup:hover img {
    transform: translateY(-4px) scale(1.018);
  }

  @keyframes heroImageFloatMobile {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -8px, 0); }
  }
}

@media (max-width: 520px) {
  .hero-preview-mockup {
    border-radius: 26px;
  }

  .hero-preview-mockup img {
    border-radius: 26px;
  }
}

/* Admin-controlled brand and media additions */
.brand-logo-img {
  width: auto !important;
  height: var(--brand-logo-height, 38px) !important;
  max-width: var(--brand-logo-max-width, 148px) !important;
  max-height: var(--brand-logo-height, 38px) !important;
  object-fit: contain !important;
  border-radius: 0;
  display: block;
  flex: 0 0 auto;
  transition: height .25s ease, max-width .25s ease, transform .25s ease;
}

.brand-logo-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.site-header .brand {
  min-width: 0;
  max-width: calc(var(--brand-logo-max-width, 148px) + 42px);
  overflow: hidden;
  white-space: nowrap;
}

.site-header .brand span:not(.brand-mark):not(.sr-only) {
  line-height: 1;
}

.footer-brand .brand-logo-img {
  height: var(--footer-logo-height, 34px) !important;
  max-height: var(--footer-logo-height, 34px) !important;
  max-width: var(--brand-logo-max-width, 150px) !important;
}

.sr-only {
  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;
}

.service-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.client-avatar-img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.hero-preview-mockup > img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
}

/* =========================================================
   Works Preview Button Fix
   The work image/card is no longer a link. Only the Preview button opens live previews.
   Mobile layout is cleaner and the contact action stays visible.
========================================================= */
.work-card {
  overflow: hidden;
}

.work-card-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.work-card .work-image {
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  background: linear-gradient(135deg, rgba(0, 93, 255, 0.07), rgba(124, 60, 255, 0.08));
  cursor: default;
}

.work-card .work-image img {
  aspect-ratio: 1.35 / 1;
}

.work-card .work-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.work-card .work-content p {
  flex: 1;
}

.work-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.work-card .work-actions a,
.work-actions a {
  width: auto;
  height: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.28s var(--motion-ease, ease), box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.work-preview-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 34px rgba(0, 93, 255, 0.22);
}

.work-contact-btn {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.work-preview-btn:hover,
.work-contact-btn:hover {
  transform: translateY(-3px);
}

.work-contact-btn:hover {
  color: var(--blue);
  border-color: rgba(0, 93, 255, 0.24);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.work-preview-btn span,
.work-contact-btn span {
  transition: transform 0.28s var(--motion-ease, ease);
}

.work-preview-btn:hover span,
.work-contact-btn:hover span {
  transform: translateX(3px);
}

html[dir="rtl"] body .work-preview-btn:hover span,
html[dir="rtl"] body .work-contact-btn:hover span {
  transform: translateX(-3px);
}

/* old overlay chip disabled because preview should only be a real button */
.preview-chip {
  display: none !important;
}

@media (max-width: 820px) {
  .work-card .work-image img {
    aspect-ratio: 1.15 / 1;
  }

  .work-actions {
    gap: 9px;
  }

  .work-card .work-actions a,
  .work-actions a {
    min-height: 46px;
    padding: 13px 15px;
  }
}

@media (max-width: 520px) {
  .work-card {
    border-radius: 28px;
  }

  .work-card .work-image {
    border-radius: 28px 28px 0 0;
  }

  .work-card .work-image img {
    aspect-ratio: 1 / 0.82;
  }

  .work-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 20px;
  }

  .work-card .work-actions a,
  .work-actions a {
    width: 100%;
    min-height: 48px;
  }
}

/* =========================================================
   Final media + counter fixes
   Uploaded screenshots from admin now show fully, not cropped.
   Number blocks animate from 0 to their real value on scroll.
========================================================= */
.count-up {
  display: inline-block;
  min-width: 2ch;
  font-variant-numeric: tabular-nums;
}

.hero-proof div,
.stats-grid div {
  position: relative;
  overflow: hidden;
}

.hero-proof div::after,
.stats-grid div::after {
  content: "";
  position: absolute;
  inset: auto 14px 12px 14px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0.55;
}

.hero-proof div:has(.count-up.is-counted)::after,
.stats-grid div:has(.count-up.is-counted)::after {
  animation: statBarGrow 1.15s cubic-bezier(.2,.9,.2,1) forwards;
}

@keyframes statBarGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.work-card .work-image {
  padding: 12px;
  min-height: 230px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 18% 10%, rgba(0, 93, 255, 0.10), transparent 30%),
    radial-gradient(circle at 88% 0%, rgba(124, 60, 255, 0.12), transparent 34%),
    linear-gradient(135deg, #f8fbff, #ffffff);
}

.work-card .work-image img,
.work-image img {
  width: 100%;
  height: auto;
  max-height: 285px;
  aspect-ratio: 16 / 10;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.work-card:hover .work-image img,
.work-card:hover img {
  transform: scale(1.035);
}

.service-icon img {
  max-width: 30px;
  max-height: 30px;
  object-fit: contain !important;
}

.hero-preview-mockup > img {
  object-fit: contain !important;
}

@media (max-width: 820px) {
  .work-card .work-image {
    min-height: 210px;
    padding: 10px;
  }

  .work-card .work-image img,
  .work-image img {
    max-height: 245px;
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 520px) {
  .work-card .work-image {
    min-height: 195px;
  }

  .work-card .work-image img,
  .work-image img {
    max-height: 220px;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }
}


/* =========================================================
   Hero Showcase MFRG3E Upgrade
   Stronger right-side hero design, bigger mockup, premium floating badges.
========================================================= */
.hero {
  background:
    radial-gradient(circle at 0% 24%, rgba(0, 93, 255, 0.12), transparent 28%),
    radial-gradient(circle at 98% 18%, rgba(124, 60, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.hero-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(38px, 5.4vw, 92px);
}

.hero-title {
  max-width: 760px;
  font-size: clamp(3.2rem, 6.7vw, 6.25rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.hero-subtitle {
  max-width: 630px;
}

.hero-visual {
  min-height: 690px;
  overflow: visible;
}

.hero-showcase {
  position: relative;
  width: min(100%, 810px);
  min-height: 650px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 4% -4% 8%;
  z-index: 0;
  border-radius: 54px;
  background:
    radial-gradient(circle at 25% 35%, rgba(0, 93, 255, 0.26), transparent 32%),
    radial-gradient(circle at 78% 23%, rgba(124, 60, 255, 0.30), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.86), rgba(243,247,255,0.58));
  filter: blur(0.2px);
  box-shadow:
    0 34px 110px rgba(15, 23, 42, 0.10),
    inset 0 0 0 1px rgba(255,255,255,0.74);
  transform: rotate(-1.5deg);
}

.hero-showcase::after {
  content: "";
  position: absolute;
  inset: 12% 0 12% 8%;
  z-index: 0;
  border-radius: 999px;
  background: conic-gradient(from 120deg, rgba(0,93,255,0.14), rgba(124,60,255,0.20), rgba(0,216,255,0.12), rgba(0,93,255,0.14));
  filter: blur(52px);
  opacity: 0.9;
  animation: heroAuraSpin 12s linear infinite;
}

.showcase-grid {
  position: absolute;
  inset: 4% 0 3%;
  z-index: 1;
  border-radius: 54px;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(0,93,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,60,255,0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 58% 45%, #000 0%, transparent 67%);
}

.showcase-aurora {
  position: absolute;
  z-index: 1;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.8;
  pointer-events: none;
}

.aurora-blue {
  left: -40px;
  top: 18%;
  background: radial-gradient(circle, rgba(0,216,255,0.20), transparent 66%);
  animation: heroOrbMoveOne 9s ease-in-out infinite;
}

.aurora-violet {
  right: -54px;
  bottom: 12%;
  background: radial-gradient(circle, rgba(124,60,255,0.24), transparent 68%);
  animation: heroOrbMoveTwo 10s ease-in-out infinite;
}

.hero-showcase .hero-preview-mockup {
  position: relative;
  z-index: 3;
  width: min(100%, 780px);
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(246,248,255,0.54));
  border: 1px solid rgba(255,255,255,0.88);
  box-shadow:
    0 54px 130px rgba(15, 23, 42, 0.16),
    0 20px 70px rgba(0, 93, 255, 0.14),
    0 20px 78px rgba(124, 60, 255, 0.11);
  overflow: visible;
  transform: rotateX(4deg) rotateY(-5deg) translateZ(0);
  animation: heroMegaFloat 7s ease-in-out infinite;
}

.hero-showcase .hero-preview-mockup img {
  border-radius: 34px;
  box-shadow: none;
  filter: saturate(1.08) contrast(1.03);
}

.hero-showcase .hero-preview-mockup::before {
  inset: -6% -5% -8%;
  border-radius: 54px;
  opacity: 0.72;
  filter: blur(36px);
}

.hero-showcase .hero-preview-mockup:hover img {
  transform: scale(1.025);
}

.showcase-badge {
  position: absolute;
  z-index: 5;
  min-width: 168px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 11px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.76);
  border-radius: 22px;
  background: rgba(255,255,255,0.76);
  box-shadow:
    0 20px 54px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.84);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.showcase-badge strong,
.showcase-badge small {
  grid-column: 2;
  line-height: 1.15;
}

.showcase-badge strong {
  font-size: 0.98rem;
  letter-spacing: -0.035em;
}

.showcase-badge small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.showcase-icon {
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 12px 28px rgba(0,93,255,0.25);
}

.showcase-badge-top {
  top: 70px;
  right: -6px;
  animation: floatBadgeTop 6.5s ease-in-out infinite;
}

.showcase-badge-left {
  left: -18px;
  bottom: 145px;
  animation: floatBadgeLeft 7s ease-in-out infinite;
}

.showcase-badge-bottom {
  right: 52px;
  bottom: 48px;
  animation: floatBadgeBottom 7.4s ease-in-out infinite;
}

@keyframes heroMegaFloat {
  0%, 100% { transform: rotateX(4deg) rotateY(-5deg) translate3d(0, 0, 0); }
  50% { transform: rotateX(1deg) rotateY(-2deg) translate3d(0, -18px, 0); }
}

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

@keyframes heroOrbMoveOne {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(26px,-20px,0) scale(1.12); }
}

@keyframes heroOrbMoveTwo {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-22px,18px,0) scale(1.08); }
}

@keyframes floatBadgeTop {
  0%, 100% { transform: translate3d(0,0,0) rotate(1deg); }
  50% { transform: translate3d(0,-12px,0) rotate(-1deg); }
}

@keyframes floatBadgeLeft {
  0%, 100% { transform: translate3d(0,0,0) rotate(-1deg); }
  50% { transform: translate3d(12px,-10px,0) rotate(1deg); }
}

@keyframes floatBadgeBottom {
  0%, 100% { transform: translate3d(0,0,0) rotate(1deg); }
  50% { transform: translate3d(-10px,-14px,0) rotate(-1deg); }
}

@media (max-width: 1240px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1.1fr);
    gap: 46px;
  }

  .hero-title {
    font-size: clamp(3rem, 6.2vw, 5.65rem);
  }

  .hero-showcase {
    width: min(100%, 720px);
  }

  .showcase-badge-top {
    right: 6px;
  }

  .showcase-badge-left {
    left: 2px;
  }
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-title,
  .hero-subtitle {
    max-width: 900px;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-showcase {
    width: min(100%, 820px);
    min-height: 600px;
    margin-inline: auto;
  }
}

@media (max-width: 820px) {
  .hero {
    padding-top: 36px;
  }

  .hero-title {
    font-size: clamp(2.45rem, 11.5vw, 4.1rem);
    line-height: 0.94;
    letter-spacing: -0.068em;
  }

  .hero-showcase {
    min-height: auto;
    padding: 48px 0 66px;
  }

  .hero-showcase::before {
    inset: 8% -4% 13%;
    border-radius: 36px;
  }

  .showcase-grid,
  .showcase-aurora {
    opacity: 0.55;
  }

  .hero-showcase .hero-preview-mockup {
    width: 94%;
    padding: 7px;
    border-radius: 30px;
    animation: heroMegaFloatMobile 6.2s ease-in-out infinite;
    transform: none;
  }

  .hero-showcase .hero-preview-mockup img {
    border-radius: 23px;
  }

  .showcase-badge {
    min-width: 135px;
    padding: 10px 11px;
    border-radius: 17px;
    grid-template-columns: 32px 1fr;
    column-gap: 8px;
  }

  .showcase-icon {
    width: 32px;
    height: 32px;
    border-radius: 11px;
    font-size: 0.9rem;
  }

  .showcase-badge strong { font-size: 0.82rem; }
  .showcase-badge small { font-size: 0.62rem; }

  .showcase-badge-top {
    top: 22px;
    right: 2px;
  }

  .showcase-badge-left {
    left: 0;
    bottom: 82px;
  }

  .showcase-badge-bottom {
    right: 10px;
    bottom: 18px;
  }
}

@media (max-width: 520px) {
  .hero-showcase {
    padding: 42px 0 58px;
  }

  .hero-showcase .hero-preview-mockup {
    width: 104%;
    margin-inline: -2%;
  }

  .showcase-badge-left {
    display: none;
  }

  .showcase-badge-top {
    top: 18px;
    right: -4px;
  }

  .showcase-badge-bottom {
    right: 6px;
    bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-showcase::after,
  .showcase-aurora,
  .hero-showcase .hero-preview-mockup,
  .showcase-badge {
    animation: none !important;
  }
}


@media (max-width: 768px) {
  .brand-logo-img {
    height: var(--brand-logo-mobile-height, 34px) !important;
    max-height: var(--brand-logo-mobile-height, 34px) !important;
    max-width: min(var(--brand-logo-max-width, 148px), 170px) !important;
  }

  .site-header .brand {
    max-width: min(calc(var(--brand-logo-max-width, 148px) + 22px), 190px);
  }
}

/* Logo size admin setting - final hard override */
.site-header .brand > img.brand-logo-img,
.site-header img.brand-logo-img {
  width: auto !important;
  height: var(--brand-logo-height, 38px) !important;
  max-height: var(--brand-logo-height, 38px) !important;
  max-width: var(--brand-logo-max-width, 148px) !important;
  object-fit: contain !important;
  object-position: left center !important;
  display: block !important;
  flex: 0 0 auto !important;
}

.site-header .brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: calc(var(--brand-logo-max-width, 148px) + 28px) !important;
  overflow: hidden !important;
}

.footer-brand > img.brand-logo-img,
.footer-brand img.brand-logo-img {
  width: auto !important;
  height: var(--footer-logo-height, 34px) !important;
  max-height: var(--footer-logo-height, 34px) !important;
  max-width: var(--brand-logo-max-width, 148px) !important;
  object-fit: contain !important;
  display: block !important;
}

@media (max-width: 768px) {
  .site-header .brand > img.brand-logo-img,
  .site-header img.brand-logo-img {
    height: var(--brand-logo-mobile-height, 34px) !important;
    max-height: var(--brand-logo-mobile-height, 34px) !important;
    max-width: min(var(--brand-logo-max-width, 148px), 170px) !important;
  }

  .site-header .brand {
    max-width: min(calc(var(--brand-logo-max-width, 148px) + 22px), 190px) !important;
  }
}

/* =========================================================
   HERO REDESIGN LIKE REFERENCE SCREENSHOT - 2026-07-02
   Clean SaaS agency hero, big left message, dashboard preview right.
========================================================= */
.hero {
  min-height: calc(100svh - 78px);
  padding: clamp(74px, 8vw, 120px) 0 clamp(72px, 7vw, 108px);
  align-items: center;
  background:
    radial-gradient(circle at 47% 21%, rgba(124, 60, 255, 0.16), transparent 28%),
    radial-gradient(circle at 88% 34%, rgba(0, 93, 255, 0.11), transparent 26%),
    radial-gradient(circle at 3% 63%, rgba(124, 60, 255, 0.08), transparent 31%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 74%, #fbfbff 100%) !important;
}

.hero::before {
  opacity: .82;
  background-image: radial-gradient(rgba(73, 84, 124, 0.14) 0.85px, transparent 0.85px) !important;
  background-size: 24px 24px !important;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 64%, transparent 100%);
}

.hero .shape-one,
.hero .shape-two {
  filter: blur(1px);
  opacity: .8;
}

.hero-grid {
  grid-template-columns: minmax(390px, 0.86fr) minmax(520px, 1.14fr) !important;
  gap: clamp(48px, 6vw, 96px) !important;
  align-items: center !important;
}

.hero-copy {
  position: relative;
  z-index: 4;
}

.hero .badge {
  height: 39px;
  padding: 0 15px;
  border-color: rgba(15, 23, 42, .10);
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 12px 34px rgba(15, 23, 42, .07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-title {
  max-width: 620px !important;
  font-size: clamp(3.35rem, 5.6vw, 6.15rem) !important;
  line-height: .94 !important;
  letter-spacing: -.075em !important;
  font-weight: 950 !important;
  color: #080d1b;
  text-wrap: balance;
}

.hero-title::after {
  content: "";
  display: block;
  width: min(210px, 44%);
  height: 8px;
  margin-top: 12px;
  margin-left: clamp(30px, 9vw, 130px);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124, 60, 255, 0), rgba(124, 60, 255, .88), rgba(0, 93, 255, .52), rgba(124, 60, 255, 0));
  transform: rotate(-4deg);
  filter: blur(.15px);
}

html[dir="rtl"] .hero-title::after {
  margin-left: 0;
  margin-right: clamp(30px, 9vw, 130px);
}

.hero-subtitle {
  max-width: 570px !important;
  margin-top: 30px !important;
  font-size: clamp(1.05rem, 1.25vw, 1.22rem) !important;
  line-height: 1.75 !important;
  color: #667085 !important;
}

.hero-buttons {
  margin-top: 34px !important;
  gap: 18px !important;
}

.hero-buttons .btn {
  min-height: 56px;
  padding: 0 25px;
  border-radius: 15px;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .10);
}

.hero-buttons .btn-primary {
  background: linear-gradient(135deg, #080d1b 0%, #201043 55%, #5f2cff 100%);
  box-shadow: 0 18px 46px rgba(43, 19, 112, .24);
}

.hero-buttons .btn-ghost {
  background: rgba(255, 255, 255, .82);
  border-color: rgba(15, 23, 42, .10);
}

.hero-proof {
  max-width: 560px !important;
  margin-top: 56px !important;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 !important;
  border-radius: 22px;
  overflow: hidden;
  border: 0 !important;
  background: transparent !important;
}

.hero-proof div {
  padding: 0 24px !important;
  border: 0 !important;
  border-right: 1px solid rgba(15, 23, 42, .10) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  min-height: 64px;
}

.hero-proof div:last-child { border-right: 0 !important; }
html[dir="rtl"] .hero-proof div { border-right: 0 !important; border-left: 1px solid rgba(15, 23, 42, .10) !important; }
html[dir="rtl"] .hero-proof div:last-child { border-left: 0 !important; }

.hero-proof strong {
  font-size: 1.55rem !important;
  color: #111827;
}

.hero-proof span {
  margin-top: 8px !important;
  font-size: .82rem !important;
  color: #7a8496;
}

.hero-visual-reference,
.hero-visual {
  min-height: 640px !important;
  overflow: visible !important;
}

.hero-dashboard-stage {
  position: relative;
  width: min(100%, 790px);
  min-height: 640px;
  display: grid;
  place-items: center;
  isolation: isolate;
  transform-style: preserve-3d;
}

.hero-dashboard-stage::before {
  content: "";
  position: absolute;
  inset: 6% -3% 4% 6%;
  z-index: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 42%, rgba(0, 93, 255, .17), transparent 34%),
    radial-gradient(circle at 72% 40%, rgba(124, 60, 255, .20), transparent 37%),
    radial-gradient(circle at 62% 80%, rgba(0, 216, 255, .10), transparent 34%);
  filter: blur(35px);
  opacity: .95;
  animation: heroReferenceAura 13s ease-in-out infinite;
}

.hero-dots {
  position: absolute;
  right: 8%;
  top: 7%;
  width: 190px;
  height: 146px;
  z-index: 1;
  opacity: .45;
  background-image: radial-gradient(rgba(72, 83, 124, .27) 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  mask-image: radial-gradient(circle at center, #000, transparent 74%);
}

.hero-orb {
  position: absolute;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00b8ff, #a855f7 72%);
  box-shadow: 0 18px 46px rgba(124, 60, 255, .28);
}

.hero-orb.orb-a { left: 9%; top: 24%; animation: heroOrbA 7.2s ease-in-out infinite; }
.hero-orb.orb-b { right: 35%; top: 10%; background: linear-gradient(135deg, #b88cff, #7c3cff); animation: heroOrbB 8.8s ease-in-out infinite; }

.hero-dashboard-shell {
  position: relative;
  z-index: 4;
  width: min(100%, 760px);
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(248,250,255,.62));
  border: 1px solid rgba(255,255,255,.86);
  box-shadow:
    0 46px 120px rgba(36, 40, 86, .16),
    0 24px 64px rgba(124, 60, 255, .14),
    inset 0 1px 0 rgba(255,255,255,.95);
  transform: perspective(1100px) rotateY(-7deg) rotateX(3deg) translateZ(0);
  animation: dashboardFloatReference 7s ease-in-out infinite;
  overflow: visible;
}

.hero-dashboard-shell::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0 38%, rgba(255,255,255,.55) 47%, transparent 58% 100%);
  transform: translateX(-100%);
  opacity: .6;
  pointer-events: none;
  animation: dashboardShine 6.4s ease-in-out infinite 1.2s;
}

.hero-dashboard-shell img {
  width: 100%;
  aspect-ratio: 830 / 690;
  height: auto;
  object-fit: contain;
  border-radius: 32px;
  filter: saturate(1.04) contrast(1.02);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
}

.hero-float-card {
  position: absolute;
  z-index: 6;
  min-width: 126px;
  padding: 15px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.8);
  background: rgba(255,255,255,.72);
  box-shadow: 0 22px 64px rgba(44, 45, 80, .15), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-float-card span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 14px;
  color: white;
  font-weight: 950;
  background: linear-gradient(135deg, #0a69ff, #8a3ffc);
  box-shadow: 0 16px 34px rgba(124, 60, 255, .24);
}

.hero-float-card strong {
  display: block;
  color: #101628;
  font-size: .98rem;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.hero-float-card small {
  display: block;
  margin-top: 5px;
  max-width: 98px;
  color: #707b91;
  font-size: .72rem;
  line-height: 1.35;
}

.hero-float-fast { left: 2%; top: 37%; animation: heroCardFloatOne 6.2s ease-in-out infinite; }
.hero-float-secure { left: -2%; bottom: 23%; animation: heroCardFloatTwo 7.1s ease-in-out infinite; }
.hero-float-growth { right: -3%; top: 34%; animation: heroCardFloatThree 6.8s ease-in-out infinite; }
.hero-float-mobile { right: -1%; bottom: 23%; animation: heroCardFloatFour 7.6s ease-in-out infinite; }

@keyframes dashboardFloatReference {
  0%, 100% { transform: perspective(1100px) rotateY(-7deg) rotateX(3deg) translate3d(0, 0, 0); }
  50% { transform: perspective(1100px) rotateY(-4deg) rotateX(1deg) translate3d(0, -18px, 0); }
}
@keyframes dashboardShine { 0%, 45% { transform: translateX(-100%); } 72%, 100% { transform: translateX(100%); } }
@keyframes heroReferenceAura { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.04) rotate(5deg); } }
@keyframes heroOrbA { 0%, 100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(22px,-18px,0); } }
@keyframes heroOrbB { 0%, 100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(-18px,18px,0); } }
@keyframes heroCardFloatOne { 0%, 100% { transform: translate3d(0,0,0) rotate(-2deg); } 50% { transform: translate3d(10px,-14px,0) rotate(1deg); } }
@keyframes heroCardFloatTwo { 0%, 100% { transform: translate3d(0,0,0) rotate(1deg); } 50% { transform: translate3d(12px,12px,0) rotate(-1deg); } }
@keyframes heroCardFloatThree { 0%, 100% { transform: translate3d(0,0,0) rotate(2deg); } 50% { transform: translate3d(-14px,-12px,0) rotate(-1deg); } }
@keyframes heroCardFloatFour { 0%, 100% { transform: translate3d(0,0,0) rotate(-1deg); } 50% { transform: translate3d(-10px,14px,0) rotate(1deg); } }

@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr !important; }
  .hero-copy { text-align: center; }
  .hero-title, .hero-subtitle { margin-inline: auto; }
  .hero-title::after { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-proof { margin-inline: auto; }
  .hero-visual-reference, .hero-visual { min-height: 560px !important; }
  .hero-dashboard-stage { min-height: 560px; width: min(100%, 860px); }
}

@media (max-width: 768px) {
  .hero { padding-top: 48px; padding-bottom: 64px; min-height: auto; }
  .hero-grid { gap: 34px !important; }
  .hero-copy { text-align: start; }
  .hero-title { max-width: 100% !important; font-size: clamp(2.55rem, 12vw, 4.1rem) !important; letter-spacing: -.065em !important; }
  .hero-title::after { margin-left: 0; margin-right: 0; width: 150px; height: 6px; }
  html[dir="rtl"] .hero-title::after { margin-right: 0; }
  .hero-subtitle { max-width: 100% !important; font-size: 1rem !important; line-height: 1.7 !important; }
  .hero-buttons { justify-content: flex-start; }
  .hero-buttons .btn { min-height: 50px; padding-inline: 18px; flex: 1 1 160px; }
  .hero-proof { grid-template-columns: 1fr; gap: 10px !important; margin-top: 30px !important; }
  .hero-proof div { border: 1px solid rgba(15,23,42,.08) !important; border-radius: 18px !important; background: rgba(255,255,255,.72) !important; padding: 14px 16px !important; min-height: auto; }
  .hero-visual-reference, .hero-visual { min-height: auto !important; margin-top: 8px; }
  .hero-dashboard-stage { min-height: auto; padding: 34px 0 54px; width: 100%; }
  .hero-dashboard-shell { width: 92%; padding: 7px; border-radius: 30px; transform: none; animation: dashboardFloatMobile 6.4s ease-in-out infinite; }
  .hero-dashboard-shell img { border-radius: 23px; }
  .hero-dots, .hero-orb { display: none; }
  .hero-float-card { min-width: 104px; padding: 11px 12px; border-radius: 17px; }
  .hero-float-card span { width: 31px; height: 31px; border-radius: 11px; margin-bottom: 8px; }
  .hero-float-card strong { font-size: .82rem; }
  .hero-float-card small { font-size: .62rem; max-width: 80px; }
  .hero-float-fast { left: 0; top: 8px; }
  .hero-float-secure { display: none; }
  .hero-float-growth { right: -2px; top: 20%; }
  .hero-float-mobile { right: 6%; bottom: 10px; }
  @keyframes dashboardFloatMobile { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
}

@media (max-width: 430px) {
  .hero-title { font-size: clamp(2.25rem, 11.5vw, 3.25rem) !important; }
  .hero-buttons .btn { width: 100%; flex-basis: 100%; }
  .hero-dashboard-shell { width: 100%; margin-inline: 0; }
  .hero-float-growth { display: none; }
  .hero-float-fast { left: 2px; }
  .hero-float-mobile { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dashboard-shell,
  .hero-dashboard-stage::before,
  .hero-orb,
  .hero-float-card,
  .hero-dashboard-shell::after {
    animation: none !important;
  }
}

/* =========================================================
   EXACT HERO REFERENCE FIX - compact title, clean dashboard,
   no broken oversized text, responsive premium layout.
========================================================= */
.hero {
  min-height: calc(100svh - 78px) !important;
  padding: clamp(82px, 7vw, 112px) 0 clamp(58px, 5vw, 82px) !important;
  background:
    radial-gradient(circle at 50% 30%, rgba(124, 60, 255, 0.10), transparent 31%),
    radial-gradient(circle at 93% 30%, rgba(0, 93, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 78%, #fbfbff 100%) !important;
}

.hero-grid {
  width: min(1280px, calc(100% - 72px)) !important;
  grid-template-columns: minmax(420px, 0.9fr) minmax(560px, 1.1fr) !important;
  gap: clamp(54px, 6vw, 96px) !important;
  align-items: center !important;
}

.hero-copy { max-width: 560px !important; }

.hero .badge {
  width: max-content !important;
  height: 36px !important;
  padding: 0 14px !important;
  font-size: 0.88rem !important;
}

.hero-title {
  max-width: 560px !important;
  margin: 26px 0 0 !important;
  font-size: clamp(3.15rem, 4.65vw, 5.08rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.065em !important;
  font-weight: 900 !important;
  color: #080d1b !important;
  text-wrap: balance !important;
}

.gradient-text {
  display: inline;
  background: linear-gradient(100deg, #4169ff 4%, #8b5cff 45%, #d052ff 94%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title::after {
  width: 180px !important;
  height: 6px !important;
  margin-top: 8px !important;
  margin-left: clamp(76px, 7vw, 126px) !important;
  background: linear-gradient(90deg, rgba(124,60,255,0), #8a3ffc 36%, #2f7cff 72%, rgba(124,60,255,0)) !important;
  opacity: .9;
}

.hero-subtitle {
  max-width: 500px !important;
  margin-top: 32px !important;
  font-size: clamp(1.05rem, 1.12vw, 1.15rem) !important;
  line-height: 1.72 !important;
  color: #667085 !important;
}

.hero-buttons { margin-top: 34px !important; gap: 22px !important; }
.hero-buttons .btn { min-height: 56px !important; border-radius: 15px !important; padding: 0 28px !important; }
.hero-buttons .btn-primary { background: linear-gradient(135deg, #070b18 0%, #21113f 55%, #572bda 100%) !important; }
.hero-buttons .btn-ghost { background: rgba(255,255,255,.9) !important; }

.hero-proof {
  max-width: 500px !important;
  margin-top: 46px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.hero-proof div { padding: 0 20px !important; min-height: 56px !important; }
.hero-proof strong { font-size: 1.45rem !important; }
.hero-proof span { font-size: .78rem !important; }

.hero-visual-reference,
.hero-visual { min-height: 560px !important; }

.hero-dashboard-stage {
  width: min(100%, 790px) !important;
  min-height: 560px !important;
  place-items: center !important;
}

.hero-dashboard-stage::before {
  inset: 5% 0 5% 2% !important;
  filter: blur(42px) !important;
  opacity: .75 !important;
}

.hero-dashboard-shell {
  width: min(100%, 760px) !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transform: none !important;
  overflow: visible !important;
  animation: exactDashboardFloat 7s ease-in-out infinite !important;
}

.hero-dashboard-shell::after { display: none !important; }

.hero-dashboard-shell img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: saturate(1.03) contrast(1.01) !important;
}

/* The dashboard image already contains the exact floating cards from the reference. */
.hero-float-card { display: none !important; }
.hero-dots { opacity: .28 !important; right: 5% !important; top: 7% !important; }
.hero-orb.orb-a { left: 5% !important; top: 25% !important; }
.hero-orb.orb-b { right: 38% !important; top: 11% !important; }

@keyframes exactDashboardFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.2deg); }
  50% { transform: translate3d(0, -16px, 0) rotate(-.4deg); }
}

@media (max-width: 1200px) {
  .hero-grid {
    width: min(1120px, calc(100% - 52px)) !important;
    grid-template-columns: minmax(390px, .88fr) minmax(500px, 1.12fr) !important;
    gap: 46px !important;
  }
  .hero-title { font-size: clamp(3rem, 4.8vw, 4.55rem) !important; }
  .hero-dashboard-stage { min-height: 500px !important; }
  .hero-visual-reference, .hero-visual { min-height: 500px !important; }
}

@media (max-width: 980px) {
  .hero {
    padding-top: 54px !important;
    min-height: auto !important;
  }
  .hero-grid {
    grid-template-columns: 1fr !important;
    width: min(760px, calc(100% - 38px)) !important;
    gap: 38px !important;
  }
  .hero-copy {
    max-width: 640px !important;
    text-align: center !important;
    margin-inline: auto !important;
  }
  .hero .badge { margin-inline: auto !important; }
  .hero-title,
  .hero-subtitle { margin-inline: auto !important; }
  .hero-title::after { margin-left: auto !important; margin-right: auto !important; }
  .hero-buttons { justify-content: center !important; }
  .hero-proof { margin-inline: auto !important; }
  .hero-dashboard-stage { min-height: auto !important; padding: 4px 0 0 !important; width: min(100%, 760px) !important; }
  .hero-dashboard-shell { width: min(100%, 720px) !important; }
  .hero-orb, .hero-dots { display: none !important; }
}

@media (max-width: 640px) {
  .hero-grid { width: min(100% - 30px, 540px) !important; gap: 30px !important; }
  .hero-copy { text-align: start !important; }
  .hero .badge { margin-inline: 0 !important; font-size: .78rem !important; height: 34px !important; }
  .hero-title {
    max-width: 100% !important;
    margin-top: 22px !important;
    font-size: clamp(2.45rem, 12vw, 4.1rem) !important;
    line-height: .98 !important;
    letter-spacing: -.06em !important;
  }
  .hero-title::after { width: 135px !important; height: 5px !important; margin-left: 54px !important; margin-right: 0 !important; }
  .hero-subtitle { margin-top: 24px !important; font-size: 1rem !important; line-height: 1.68 !important; }
  .hero-buttons { justify-content: flex-start !important; gap: 12px !important; }
  .hero-buttons .btn { min-height: 50px !important; padding: 0 18px !important; flex: 1 1 145px !important; }
  .hero-proof { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; margin-top: 28px !important; }
  .hero-proof div { padding: 0 10px !important; border-radius: 0 !important; background: transparent !important; border: 0 !important; border-right: 1px solid rgba(15,23,42,.10) !important; }
  .hero-proof strong { font-size: 1.15rem !important; }
  .hero-proof span { font-size: .68rem !important; }
  .hero-dashboard-shell { width: 118% !important; margin-left: -9% !important; }
}

@media (max-width: 420px) {
  .hero-buttons .btn { flex-basis: 100% !important; }
  .hero-proof { grid-template-columns: 1fr !important; gap: 10px !important; }
  .hero-proof div { border: 1px solid rgba(15,23,42,.08) !important; border-radius: 17px !important; background: rgba(255,255,255,.72) !important; padding: 12px 14px !important; }
  .hero-dashboard-shell { width: 128% !important; margin-left: -14% !important; }
}

/* =========================================================
   Featured Works Premium Slider / Carousel
   Admin-controlled items stay dynamic; only the front-end layout changes.
========================================================= */
.works-showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 93, 255, 0.08), transparent 26%),
    radial-gradient(circle at 88% 16%, rgba(124, 60, 255, 0.10), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 52%, #f8fbff 100%);
}

.works-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.48;
  background-image: radial-gradient(rgba(15, 23, 42, 0.10) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 70%, transparent 100%);
}

.works-showcase > .container {
  position: relative;
  z-index: 1;
}

.works-showcase-heading {
  max-width: 850px;
  margin-inline: auto;
}

.works-slider-shell {
  --slide-width: 430px;
  position: relative;
  margin-top: 58px;
  padding: 34px 0 52px;
  isolation: isolate;
}

.works-slider-shell::before {
  content: "";
  position: absolute;
  inset: 10px 56px 34px;
  border-radius: 44px;
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 93, 255, 0.12), transparent 30%),
    radial-gradient(circle at 78% 10%, rgba(124, 60, 255, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 40px 110px rgba(15, 23, 42, 0.08);
  z-index: -1;
}

.works-slider-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}

.works-slider-kicker {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 93, 255, 0.14);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.works-slider-line {
  width: min(220px, 22vw);
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 93, 255, 0.0), rgba(0, 93, 255, 0.35), rgba(124, 60, 255, 0));
}

.works-slider-viewport {
  overflow: hidden;
  padding: 10px 0 22px;
  cursor: grab;
  touch-action: pan-y;
}

.works-slider-viewport:active {
  cursor: grabbing;
}

.works-slider-track {
  display: flex;
  gap: 26px;
  padding: 0 max(26px, calc((100% - var(--slide-width)) / 2));
  transform: translate3d(0, 0, 0);
  transition: transform 0.72s cubic-bezier(.2,.9,.2,1);
  will-change: transform;
}

.work-slide,
.works-slider-track .work-card {
  flex: 0 0 var(--slide-width);
  max-width: var(--slide-width);
  transform: scale(0.91) translateY(18px);
  opacity: 0.62;
  filter: saturate(0.86);
  transition:
    transform 0.72s cubic-bezier(.2,.9,.2,1),
    opacity 0.72s ease,
    filter 0.72s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.work-slide.is-active,
.works-slider-track .work-card.is-active {
  transform: scale(1) translateY(0);
  opacity: 1;
  filter: saturate(1.06);
  z-index: 5;
}

.work-slide.is-near,
.works-slider-track .work-card.is-near {
  opacity: 0.82;
  filter: saturate(0.96);
  transform: scale(0.95) translateY(10px);
}

.works-slider-track .work-card {
  min-height: 620px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(18px);
}

.works-slider-track .work-card.is-active {
  box-shadow:
    0 42px 110px rgba(15, 23, 42, 0.16),
    0 24px 70px rgba(0, 93, 255, 0.12);
  border-color: rgba(0, 93, 255, 0.16);
}

.works-slider-track .work-card::before {
  opacity: 0.65;
}

.works-slider-track .work-card-inner {
  min-height: 620px;
}

.works-slider-track .work-image {
  min-height: 292px;
  padding: 18px;
  border-radius: 34px 34px 0 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(0, 93, 255, 0.16), transparent 28%),
    radial-gradient(circle at 86% 0%, rgba(124, 60, 255, 0.18), transparent 32%),
    linear-gradient(135deg, #f2f7ff 0%, #ffffff 55%, #f5efff 100%);
}

.works-slider-track .work-image img,
.works-slider-track .work-image-fallback {
  width: 100%;
  height: 252px;
  max-height: 252px;
  aspect-ratio: auto;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.05),
    0 20px 52px rgba(15, 23, 42, 0.10);
}

.works-slider-track .work-image-fallback {
  display: none;
  place-items: center;
  text-align: center;
  padding: 28px;
  color: var(--text);
  background:
    radial-gradient(circle at 25% 15%, rgba(0, 93, 255, 0.16), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(124, 60, 255, 0.14), transparent 32%),
    linear-gradient(135deg, #ffffff, #f4f7ff);
}

.works-slider-track .work-image.image-missing .work-image-fallback {
  display: grid;
}

.works-slider-track .work-image-fallback span {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-inline: auto;
  margin-bottom: 16px;
  border-radius: 20px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 18px 38px rgba(0, 93, 255, 0.20);
  font-size: 1.5rem;
  font-weight: 950;
}

.works-slider-track .work-image-fallback strong,
.works-slider-track .work-image-fallback small {
  display: block;
}

.works-slider-track .work-image-fallback strong {
  font-size: 1.08rem;
  margin-bottom: 7px;
}

.works-slider-track .work-image-fallback small {
  color: var(--muted);
  font-weight: 800;
}

.works-slider-track .work-content {
  padding: 30px;
}

.works-slider-track .work-content h3 {
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.works-slider-track .work-content p {
  margin-top: 14px;
  font-size: 0.96rem;
  line-height: 1.72;
}

.works-slider-track .work-actions {
  margin-top: 26px;
}

.works-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 12;
  width: 54px;
  height: 54px;
  transform: translateY(-50%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(16px);
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.works-slider-arrow span {
  display: block;
  margin-top: -2px;
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 500;
}

.works-slider-prev { left: 6px; }
.works-slider-next { right: 6px; }

.works-slider-arrow:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 22px 65px rgba(0, 93, 255, 0.22);
}

.works-slider-prev:hover { transform: translateY(-50%) translateX(-3px); }
.works-slider-next:hover { transform: translateY(-50%) translateX(3px); }

.works-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 12px;
}

.works-slider-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.16);
  cursor: pointer;
  transition: width 0.28s ease, background 0.28s ease, transform 0.28s ease;
}

.works-slider-dot.is-active {
  width: 34px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  transform: translateY(-1px);
}

@media (max-width: 1180px) {
  .works-slider-shell { --slide-width: 400px; }
  .works-slider-track .work-card,
  .works-slider-track .work-card-inner { min-height: 600px; }
}

@media (max-width: 900px) {
  .works-slider-shell {
    --slide-width: min(82vw, 390px);
    margin-top: 44px;
    padding: 24px 0 44px;
  }

  .works-slider-shell::before {
    inset: 0 0 28px;
    border-radius: 34px;
  }

  .works-slider-track {
    gap: 18px;
    padding-inline: calc((100% - var(--slide-width)) / 2);
  }

  .works-slider-arrow {
    top: auto;
    bottom: -3px;
    transform: none;
    width: 48px;
    height: 48px;
  }

  .works-slider-prev { left: calc(50% - 94px); }
  .works-slider-next { right: calc(50% - 94px); }
  .works-slider-prev:hover,
  .works-slider-next:hover { transform: none; }

  .works-slider-dots {
    margin-top: 24px;
    padding-inline: 54px;
  }
}

@media (max-width: 560px) {
  .works-showcase-heading h2 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 0.98;
  }

  .works-slider-shell {
    --slide-width: min(88vw, 360px);
  }

  .works-slider-top {
    margin-bottom: 14px;
  }

  .works-slider-line {
    display: none;
  }

  .works-slider-track .work-card,
  .works-slider-track .work-card-inner {
    min-height: auto;
  }

  .works-slider-track .work-card {
    border-radius: 28px;
    transform: scale(0.96) translateY(10px);
  }

  .works-slider-track .work-card.is-active {
    transform: scale(1) translateY(0);
  }

  .works-slider-track .work-image {
    min-height: 225px;
    padding: 12px;
    border-radius: 28px 28px 0 0;
  }

  .works-slider-track .work-image img,
  .works-slider-track .work-image-fallback {
    height: 204px;
    max-height: 204px;
    border-radius: 20px;
  }

  .works-slider-track .work-content {
    padding: 24px;
  }

  .works-slider-track .work-content h3 {
    font-size: 1.25rem;
  }

  .works-slider-track .work-content p {
    font-size: 0.92rem;
  }

  .works-slider-arrow {
    width: 44px;
    height: 44px;
  }
}

/* ================================
   ZasCoding premium services redesign
   Replaces the flat services grid with a bento agency-style layout.
   Fully dynamic: cards still come from the admin panel.
================================ */
.services {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 20%, rgba(0, 93, 255, 0.08), transparent 28%),
    radial-gradient(circle at 84% 24%, rgba(124, 60, 255, 0.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 48%, #ffffff 100%);
}

.services::before {
  content: "";
  position: absolute;
  inset: 52px auto auto 50%;
  width: min(760px, 70vw);
  height: min(760px, 70vw);
  border-radius: 999px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124, 60, 255, 0.12), transparent 64%);
  filter: blur(18px);
  pointer-events: none;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services .section-heading.split {
  align-items: center;
  margin-bottom: 46px;
}

.services .section-heading h2 {
  max-width: 760px;
  font-size: clamp(2.45rem, 5.4vw, 5.25rem);
}

.services .section-heading p {
  max-width: 430px;
  padding: 22px 24px;
  border: 1px solid rgba(7, 11, 24, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(16px);
}

.services-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.service-bento-card {
  grid-column: span 3;
  min-height: 292px;
  padding: 26px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.76)),
    radial-gradient(circle at 16% 0%, rgba(0, 93, 255, 0.12), transparent 38%);
  border: 1px solid rgba(7, 11, 24, 0.085);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.075);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-bento-card:nth-child(1) {
  grid-column: span 6;
  min-height: 388px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.22), transparent 22%),
    radial-gradient(circle at 12% 88%, rgba(0, 216, 255, 0.28), transparent 32%),
    linear-gradient(135deg, #081126 0%, #105dff 48%, #863cff 100%);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 32px 90px rgba(0, 93, 255, 0.22);
}

.service-bento-card:nth-child(2),
.service-bento-card:nth-child(3) {
  grid-column: span 3;
  min-height: 388px;
}

.service-bento-card:nth-child(4),
.service-bento-card:nth-child(5),
.service-bento-card:nth-child(6) {
  grid-column: span 4;
}

.service-bento-card:nth-child(7),
.service-bento-card:nth-child(8),
.service-bento-card:nth-child(9),
.service-bento-card:nth-child(10) {
  grid-column: span 3;
}

.service-orb {
  position: absolute;
  right: -44px;
  top: -44px;
  width: 146px;
  height: 146px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124, 60, 255, 0.22), transparent 68%);
  opacity: 0.7;
  pointer-events: none;
  transition: transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.35s ease;
}

.service-bento-card:nth-child(1) .service-orb {
  width: 260px;
  height: 260px;
  right: -78px;
  top: -78px;
  background: radial-gradient(circle, rgba(255,255,255,0.26), transparent 66%);
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.service-bento-card .service-icon {
  width: 62px;
  height: 62px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(0, 93, 255, 0.13), rgba(124, 60, 255, 0.15));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 16px 34px rgba(0, 93, 255, 0.13);
  color: var(--blue);
  font-size: 1.42rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-bento-card:nth-child(1) .service-icon {
  width: 74px;
  height: 74px;
  border-radius: 26px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 18px 40px rgba(0,0,0,0.16);
  backdrop-filter: blur(12px);
}

.service-bento-card .service-icon img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.service-bento-card .service-icon span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  line-height: 1;
}

.service-number {
  color: rgba(7, 11, 24, 0.28);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.service-bento-card:nth-child(1) .service-number {
  color: rgba(255,255,255,0.58);
}

.service-body {
  padding-top: 28px;
}

.service-bento-card h3 {
  max-width: 360px;
  margin: 0;
  font-size: clamp(1.35rem, 1.65vw, 1.78rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.service-bento-card:nth-child(1) h3 {
  max-width: 520px;
  font-size: clamp(2rem, 3.6vw, 3.75rem);
  color: #fff;
}

.service-bento-card p {
  max-width: 430px;
  margin-top: 15px;
  color: #687185;
  font-size: 0.98rem;
}

.service-bento-card:nth-child(1) p {
  color: rgba(255,255,255,0.78);
  font-size: 1.08rem;
}

.service-cta {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 11px 14px 11px 16px;
  color: #061024;
  background: #fff;
  border: 1px solid rgba(7, 11, 24, 0.08);
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  font-size: 0.88rem;
  font-weight: 950;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.service-bento-card:not(:nth-child(1)) .service-cta {
  color: var(--blue);
  background: rgba(255,255,255,0.72);
}

.service-cta i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-style: normal;
  transition: transform 0.28s ease;
}

.service-bento-card:nth-child(1) .service-cta i {
  color: var(--blue);
  background: rgba(0, 93, 255, 0.10);
}

.service-bento-card:hover .service-orb {
  transform: translate3d(-16px, 14px, 0) scale(1.12);
  opacity: 1;
}

.service-bento-card:hover .service-cta {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 93, 255, 0.14);
}

.service-bento-card:hover .service-cta i {
  transform: translateX(3px) rotate(-14deg);
}

.service-bento-card:hover h3 {
  color: inherit;
}

body.dark-mode .services {
  background:
    radial-gradient(circle at 16% 20%, rgba(0, 93, 255, 0.16), transparent 28%),
    radial-gradient(circle at 84% 24%, rgba(124, 60, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #070b18 0%, #0d1324 54%, #070b18 100%);
}

body.dark-mode .services .section-heading p,
body.dark-mode .service-bento-card {
  background: rgba(16, 24, 43, 0.76);
  border-color: rgba(255,255,255,0.12);
}

body.dark-mode .service-bento-card:nth-child(1) {
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.18), transparent 22%),
    radial-gradient(circle at 12% 88%, rgba(0, 216, 255, 0.24), transparent 32%),
    linear-gradient(135deg, #081126 0%, #105dff 48%, #863cff 100%);
}

body.dark-mode .service-bento-card p {
  color: rgba(248,251,255,0.66);
}

body.dark-mode .service-number {
  color: rgba(248,251,255,0.24);
}

@media (max-width: 1160px) {
  .services-bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .service-bento-card,
  .service-bento-card:nth-child(2),
  .service-bento-card:nth-child(3),
  .service-bento-card:nth-child(7),
  .service-bento-card:nth-child(8),
  .service-bento-card:nth-child(9),
  .service-bento-card:nth-child(10) {
    grid-column: span 3;
  }

  .service-bento-card:nth-child(1),
  .service-bento-card:nth-child(4),
  .service-bento-card:nth-child(5),
  .service-bento-card:nth-child(6) {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  .services .section-heading.split {
    gap: 22px;
    margin-bottom: 30px;
  }

  .services .section-heading p {
    padding: 18px;
    border-radius: 20px;
  }

  .services-bento {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-bento-card,
  .service-bento-card:nth-child(1),
  .service-bento-card:nth-child(2),
  .service-bento-card:nth-child(3),
  .service-bento-card:nth-child(4),
  .service-bento-card:nth-child(5),
  .service-bento-card:nth-child(6),
  .service-bento-card:nth-child(7),
  .service-bento-card:nth-child(8),
  .service-bento-card:nth-child(9),
  .service-bento-card:nth-child(10) {
    grid-column: 1 / -1;
    min-height: 250px;
    padding: 22px;
    border-radius: 28px;
  }

  .service-bento-card:nth-child(1) {
    min-height: 330px;
  }

  .service-bento-card:nth-child(1) h3 {
    font-size: clamp(2rem, 11vw, 3.15rem);
  }

  .service-bento-card h3 {
    font-size: 1.45rem;
  }

  .service-bento-card .service-icon {
    width: 56px;
    height: 56px;
    border-radius: 20px;
  }
}

/* Premium moving services carousel: cards slide from right to left instead of staying fixed. */
.services {
  overflow: hidden;
}

.services-marquee-wrap {
  position: relative;
  width: 100%;
  margin-top: 34px;
  padding: 8px 0 28px;
  overflow: hidden;
  isolation: isolate;
}

.services-marquee-wrap::before {
  content: "";
  position: absolute;
  inset: 34px 0 auto;
  height: 190px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124, 60, 255, 0.13), transparent 64%);
  filter: blur(34px);
  opacity: 0.8;
  pointer-events: none;
  z-index: -1;
}

.services-marquee-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  animation: servicesMoveLeft 42s linear infinite;
  will-change: transform;
}

.services-marquee-wrap:hover .services-marquee-track {
  animation-play-state: paused;
}

.service-marquee-card {
  position: relative;
  width: clamp(260px, 23vw, 340px);
  min-height: 320px;
  padding: 26px;
  flex: 0 0 auto;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.76)),
    radial-gradient(circle at 16% 0%, rgba(0, 93, 255, 0.13), transparent 38%);
  border: 1px solid rgba(7, 11, 24, 0.08);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
  transform: translateZ(0);
}

.service-marquee-card:nth-child(5n + 1) {
  background:
    radial-gradient(circle at 78% 10%, rgba(255, 255, 255, 0.22), transparent 24%),
    radial-gradient(circle at 14% 86%, rgba(0, 216, 255, 0.25), transparent 34%),
    linear-gradient(135deg, #081126 0%, #105dff 48%, #863cff 100%);
  color: #fff;
  box-shadow: 0 30px 88px rgba(0, 93, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.24);
}

.service-marquee-card:nth-child(5n + 3) {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(248,251,255,0.78)),
    radial-gradient(circle at 92% 16%, rgba(124, 60, 255, 0.18), transparent 30%);
}

.service-marquee-card .service-card-top {
  position: relative;
  z-index: 1;
}

.service-marquee-card .service-icon {
  width: 60px;
  height: 60px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(0, 93, 255, 0.13), rgba(124, 60, 255, 0.16));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 16px 34px rgba(0, 93, 255, 0.13);
  color: var(--blue);
  font-size: 1.45rem;
}

.service-marquee-card:nth-child(5n + 1) .service-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.32), 0 18px 42px rgba(0,0,0,0.18);
  backdrop-filter: blur(12px);
}

.service-marquee-card .service-icon img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.service-marquee-card .service-number {
  color: rgba(7, 11, 24, 0.28);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.service-marquee-card:nth-child(5n + 1) .service-number,
.service-marquee-card:nth-child(5n + 1) p {
  color: rgba(255,255,255,0.76);
}

.service-marquee-card .service-body {
  padding-top: 26px;
}

.service-marquee-card h3 {
  margin: 0;
  max-width: 290px;
  font-size: clamp(1.32rem, 1.45vw, 1.72rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.service-marquee-card p {
  margin-top: 14px;
  color: #687185;
  font-size: 0.98rem;
  line-height: 1.62;
}

.service-marquee-card .service-cta {
  width: fit-content;
  margin-top: 24px;
  padding: 11px 14px 11px 16px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(7, 11, 24, 0.08);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.service-marquee-card:nth-child(5n + 1) .service-cta {
  color: #061024;
  background: #fff;
}

.service-marquee-card .service-cta i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-style: normal;
}

.service-marquee-card .service-orb {
  position: absolute;
  right: -48px;
  top: -48px;
  width: 154px;
  height: 154px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124, 60, 255, 0.23), transparent 68%);
  pointer-events: none;
  transition: transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.35s ease;
}

.service-marquee-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 34px 92px rgba(15, 23, 42, 0.14);
}

.service-marquee-card:hover .service-orb {
  transform: translate3d(-18px, 18px, 0) scale(1.16);
  opacity: 1;
}

.service-marquee-card:hover .service-icon {
  transform: translateY(-4px) rotate(-4deg);
}

.service-marquee-card:hover .service-cta i {
  transform: translateX(3px) rotate(-14deg);
}

.services-marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(12vw, 150px);
  z-index: 2;
  pointer-events: none;
}

.services-marquee-fade.left {
  left: 0;
  background: linear-gradient(90deg, var(--bg), rgba(248, 251, 255, 0));
}

.services-marquee-fade.right {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), rgba(248, 251, 255, 0));
}

@keyframes servicesMoveLeft {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-50% - 9px), 0, 0); }
}

body.dark-mode .service-marquee-card {
  background: rgba(16, 24, 43, 0.76);
  border-color: rgba(255,255,255,0.12);
}

body.dark-mode .service-marquee-card p {
  color: rgba(248,251,255,0.66);
}

body.dark-mode .service-marquee-fade.left {
  background: linear-gradient(90deg, #070b18, rgba(7, 11, 24, 0));
}

body.dark-mode .service-marquee-fade.right {
  background: linear-gradient(-90deg, #070b18, rgba(7, 11, 24, 0));
}

@media (max-width: 760px) {
  .services-marquee-wrap {
    margin-top: 26px;
    overflow-x: auto;
    padding: 6px 20px 26px;
    margin-left: -20px;
    margin-right: -20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .services-marquee-wrap::-webkit-scrollbar {
    display: none;
  }

  .services-marquee-track {
    gap: 14px;
    animation-duration: 36s;
  }

  .service-marquee-card {
    width: min(82vw, 330px);
    min-height: 300px;
    padding: 22px;
    border-radius: 28px;
  }

  .service-marquee-card h3 {
    font-size: 1.38rem;
  }

  .service-marquee-card p {
    font-size: 0.94rem;
  }

  .services-marquee-fade {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-marquee-track {
    animation: none;
  }

  .services-marquee-wrap {
    overflow-x: auto;
  }
}

/* Services 3D auto carousel: controlled from admin settings. */
.services {
  overflow: hidden;
}

.services-3d-carousel {
  position: relative;
  margin-top: 42px;
  padding: 18px 0 34px;
  min-height: calc(var(--service-3d-height, 370px) + 110px);
  perspective: 1450px;
  isolation: isolate;
}

.services-3d-glow {
  position: absolute;
  inset: 6% 10% 18%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 38% 50%, rgba(0, 93, 255, 0.16), transparent 36%),
    radial-gradient(circle at 65% 50%, rgba(124, 60, 255, 0.18), transparent 42%);
  filter: blur(42px);
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

.services-3d-stage {
  position: relative;
  height: var(--service-3d-height, 370px);
  transform-style: preserve-3d;
  display: grid;
  place-items: center;
  overflow: visible;
  user-select: none;
  touch-action: pan-y;
}

.service-3d-card {
  position: absolute;
  width: min(380px, 74vw);
  height: calc(var(--service-3d-height, 370px) - 10px);
  padding: 26px;
  border-radius: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.76)),
    radial-gradient(circle at 18% 12%, rgba(0, 93, 255, 0.12), transparent 36%),
    radial-gradient(circle at 88% 8%, rgba(124, 60, 255, 0.16), transparent 32%);
  border: 1px solid rgba(7, 11, 24, 0.08);
  box-shadow: 0 26px 74px rgba(15, 23, 42, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 24px, -420px) rotateY(0deg) scale(0.62);
  transition:
    transform 760ms cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 560ms ease,
    filter 560ms ease,
    box-shadow 560ms ease;
  will-change: transform, opacity;
}

.service-3d-card.is-active {
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 34px 100px rgba(0, 93, 255, 0.19);
}

.service-3d-card.is-near {
  opacity: 0.72;
  filter: saturate(0.95) blur(0.1px);
}

.service-3d-card.is-far {
  opacity: 0.3;
  filter: saturate(0.82) blur(0.5px);
}

.service-3d-card:hover {
  box-shadow: 0 42px 120px rgba(0, 93, 255, 0.2);
}

.service-3d-card-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.26), transparent 34%),
    radial-gradient(circle at 16% 100%, rgba(0, 216, 255, 0.16), transparent 35%);
  opacity: 0.95;
}

.service-3d-card:nth-child(4n + 1) {
  background:
    radial-gradient(circle at 76% 10%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #071126 0%, #095dff 50%, #8b3cff 100%);
  color: #fff;
  border-color: rgba(255,255,255,0.24);
}

.service-3d-card:nth-child(4n + 1) p,
.service-3d-card:nth-child(4n + 1) .service-3d-number,
.service-3d-card:nth-child(4n + 1) .service-3d-chip {
  color: rgba(255,255,255,0.76);
}

.service-3d-topline,
.service-3d-icon,
.service-3d-content,
.service-3d-cta {
  position: relative;
  z-index: 1;
}

.service-3d-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-3d-number {
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
  color: rgba(7, 11, 24, 0.22);
}

.service-3d-chip {
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(7, 11, 24, 0.55);
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(7, 11, 24, 0.07);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.service-3d-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-top: 18px;
  border-radius: 24px;
  color: var(--blue);
  background: linear-gradient(135deg, rgba(0, 93, 255, 0.13), rgba(124, 60, 255, 0.18));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 18px 42px rgba(0, 93, 255, 0.15);
  font-size: 1.55rem;
  transition: transform 420ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.service-3d-card:nth-child(4n + 1) .service-3d-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.service-3d-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.service-3d-content h3 {
  margin: 0;
  max-width: 310px;
  font-size: clamp(1.72rem, 2.1vw, 2.35rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.service-3d-content p {
  margin: 16px 0 0;
  max-width: 310px;
  color: #687185;
  line-height: 1.62;
  font-size: 1rem;
}

.service-3d-cta {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 12px 17px;
  border-radius: 999px;
  color: #071126;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(7, 11, 24, 0.08);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  font-weight: 900;
  font-size: 0.88rem;
}

.service-3d-cta i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-style: normal;
  transition: transform 300ms ease;
}

.service-3d-card:hover .service-3d-icon {
  transform: translateY(-6px) rotate(-5deg) scale(1.04);
}

.service-3d-card:hover .service-3d-cta i {
  transform: translateX(3px) rotate(-12deg);
}

.services-3d-arrow {
  position: absolute;
  top: 50%;
  z-index: 12;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #071126;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(7, 11, 24, 0.08);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.12);
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.services-3d-arrow:hover {
  transform: translateY(-50%) scale(1.07);
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 93, 255, 0.15);
}

.services-3d-arrow.prev { left: 4%; }
.services-3d-arrow.next { right: 4%; }

.services-3d-bottom {
  position: relative;
  z-index: 10;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.services-3d-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.services-3d-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(7, 11, 24, 0.18);
  transition: width 260ms ease, background 260ms ease, transform 260ms ease;
}

.services-3d-dot.is-active {
  width: 28px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.services-3d-hint {
  margin: 0;
  color: #778196;
  font-size: 0.86rem;
  font-weight: 700;
}

body.dark-mode .service-3d-card {
  background: rgba(16, 24, 43, 0.82);
  border-color: rgba(255,255,255,0.12);
}

body.dark-mode .service-3d-content p,
body.dark-mode .services-3d-hint {
  color: rgba(248,251,255,0.66);
}

body.dark-mode .services-3d-arrow,
body.dark-mode .service-3d-cta {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.12);
}

@media (max-width: 980px) {
  .services-3d-arrow.prev { left: 0; }
  .services-3d-arrow.next { right: 0; }
}

@media (max-width: 760px) {
  .services-3d-carousel {
    margin-top: 28px;
    padding: 4px 0 26px;
    min-height: calc(var(--service-3d-height, 370px) + 90px);
  }

  .services-3d-stage {
    height: min(var(--service-3d-height, 370px), 390px);
  }

  .service-3d-card {
    width: min(82vw, 330px);
    height: min(calc(var(--service-3d-height, 370px) - 18px), 370px);
    padding: 22px;
    border-radius: 30px;
  }

  .service-3d-number {
    font-size: 1.86rem;
  }

  .service-3d-content h3 {
    font-size: 1.55rem;
  }

  .service-3d-content p {
    font-size: 0.93rem;
    line-height: 1.55;
  }

  .services-3d-arrow {
    top: auto;
    bottom: 30px;
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
  }

  .services-3d-arrow.prev { left: 18px; }
  .services-3d-arrow.next { right: 18px; }

  .services-3d-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-3d-card,
  .services-3d-arrow,
  .service-3d-icon,
  .service-3d-cta i {
    transition: none !important;
  }
}


/* =========================================================
   Final Services 3D Quality Fix
   Crisp cards, cleaner depth, and stronger phone layout.
   Admin controls still work: autoplay, interval, height, side cards, depth.
========================================================= */
.services-3d-carousel {
  --service-card-clear-shadow: 0 34px 105px rgba(21, 42, 110, 0.16);
  min-height: calc(var(--service-3d-height, 370px) + 135px);
  padding-top: 34px;
  padding-bottom: 42px;
  overflow: visible;
}

.services-3d-stage {
  overflow: visible;
  transform-style: preserve-3d;
  perspective: 1500px;
}

.service-3d-card {
  color: #081126;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.90)),
    radial-gradient(circle at 18% 10%, rgba(0, 93, 255, 0.10), transparent 34%),
    radial-gradient(circle at 86% 4%, rgba(124, 60, 255, 0.12), transparent 32%);
  border: 1px solid rgba(7, 11, 24, 0.095);
  box-shadow: 0 24px 74px rgba(15, 23, 42, 0.11);
  filter: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  backface-visibility: hidden;
}

.service-3d-card.is-active {
  filter: none !important;
  box-shadow: var(--service-card-clear-shadow);
}

.service-3d-card.is-near {
  filter: none !important;
  opacity: 0.86;
  box-shadow: 0 24px 72px rgba(15, 23, 42, 0.10);
}

.service-3d-card.is-far {
  filter: none !important;
  opacity: 0.58;
}

.service-3d-card-bg {
  opacity: 0.55;
}

.service-3d-content h3,
.service-3d-content p,
.service-3d-number,
.service-3d-chip,
.service-3d-cta {
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.service-3d-content h3 {
  letter-spacing: -0.055em;
}

.service-3d-content p {
  color: #546078;
  font-weight: 520;
}

.service-3d-chip {
  background: rgba(255,255,255,0.92);
}

.services-3d-arrow {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 760px) {
  .services {
    overflow: hidden;
  }

  .services .section-heading h2 {
    font-size: clamp(2.35rem, 11vw, 4rem);
    line-height: .94;
  }

  .services .section-heading.split {
    margin-bottom: 18px;
  }

  .services-3d-carousel {
    margin-top: 12px;
    min-height: 520px;
    padding: 18px 0 74px;
    perspective: 1050px;
  }

  .services-3d-glow {
    inset: 12% -14% 24%;
    filter: blur(28px);
    opacity: .75;
  }

  .services-3d-stage {
    height: 392px;
    touch-action: pan-y;
  }

  .service-3d-card {
    width: min(86vw, 350px);
    height: 374px;
    padding: 22px;
    border-radius: 30px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  }

  .service-3d-card.is-active {
    box-shadow: 0 30px 88px rgba(0, 93, 255, 0.18);
  }

  .service-3d-card.is-near {
    opacity: 0.52 !important;
  }

  .service-3d-card.is-far {
    opacity: 0 !important;
  }

  .service-3d-number {
    font-size: 1.8rem;
  }

  .service-3d-chip {
    padding: 7px 10px;
    font-size: .62rem;
  }

  .service-3d-icon {
    width: 58px;
    height: 58px;
    border-radius: 21px;
    margin-top: 14px;
  }

  .service-3d-icon img {
    width: 30px;
    height: 30px;
  }

  .service-3d-content h3 {
    font-size: clamp(1.55rem, 7vw, 2.05rem);
    line-height: 1;
    max-width: 280px;
  }

  .service-3d-content p {
    font-size: .94rem;
    line-height: 1.52;
    max-width: 285px;
    margin-top: 12px;
  }

  .service-3d-cta {
    padding: 11px 13px 11px 15px;
    font-size: .84rem;
  }

  .services-3d-arrow {
    bottom: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
  }

  .services-3d-arrow.prev { left: 22px; }
  .services-3d-arrow.next { right: 22px; }

  .services-3d-bottom {
    margin-top: 18px;
    transform: translateY(0);
  }
}

@media (max-width: 420px) {
  .services-3d-carousel {
    min-height: 500px;
  }

  .service-3d-card {
    width: 88vw;
    height: 362px;
    padding: 20px;
  }

  .service-3d-content h3 {
    font-size: 1.56rem;
  }

  .service-3d-content p {
    font-size: .9rem;
  }
}

/* =========================================================
   FINAL Services 3D Sharp + Mobile Fit Fix
   Removes blur completely, keeps the active card crisp, and
   prevents the carousel from taking/breaking full phone width.
========================================================= */
.services,
.services .container,
.services-3d-carousel,
.services-3d-stage {
  max-width: 100%;
}

.services-3d-carousel {
  overflow: hidden;
  contain: layout paint;
  perspective: none !important;
  transform-style: flat !important;
}

.services-3d-stage {
  perspective: none !important;
  transform-style: flat !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.service-3d-card,
.service-3d-card.is-active,
.service-3d-card.is-near,
.service-3d-card.is-far,
.service-3d-card * {
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-shadow: none !important;
}

.service-3d-card {
  transform-style: flat !important;
  image-rendering: auto;
  opacity: 1;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%) !important;
}

.service-3d-card:nth-child(4n + 1) {
  background: linear-gradient(135deg, #105dff 0%, #6d46ff 62%, #9b5cff 100%) !important;
}

.service-3d-card.is-active {
  opacity: 1 !important;
  z-index: 40 !important;
}

.service-3d-card.is-near {
  opacity: .92 !important;
}

.service-3d-card.is-far {
  opacity: .64 !important;
}

.service-3d-content h3,
.service-3d-content p,
.service-3d-number,
.service-3d-chip,
.service-3d-cta {
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  .services {
    overflow: hidden;
  }

  .services-3d-carousel {
    width: 100%;
    min-height: 505px;
    padding: 16px 0 72px;
  }

  .services-3d-stage {
    width: 100%;
    height: 382px;
    overflow: visible;
  }

  .service-3d-card {
    width: min(88vw, 335px) !important;
    max-width: calc(100vw - 32px) !important;
    height: 358px !important;
    padding: 20px !important;
    border-radius: 28px !important;
  }

  .service-3d-card.is-near {
    opacity: .38 !important;
  }

  .service-3d-card.is-far {
    opacity: 0 !important;
  }

  .service-3d-content h3 {
    font-size: clamp(1.45rem, 7.2vw, 1.95rem) !important;
    line-height: 1.02 !important;
  }

  .service-3d-content p {
    font-size: .9rem !important;
    line-height: 1.5 !important;
  }

  .services-3d-arrow {
    bottom: 18px !important;
  }

  .services-3d-bottom {
    margin-top: 12px !important;
  }
}

@media (max-width: 390px) {
  .service-3d-card {
    width: min(90vw, 320px) !important;
    height: 350px !important;
    padding: 18px !important;
  }

  .service-3d-icon {
    width: 52px !important;
    height: 52px !important;
  }

  .service-3d-content h3 {
    font-size: 1.42rem !important;
  }
}

/* =========================================================
   ZasCoding coded hero visual - no image, pure HTML/CSS
   ========================================================= */
.hero-coding-visual {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible !important;
}

.coding-stage {
  position: relative;
  width: min(100%, 780px);
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  isolation: isolate;
}

.coding-stage::before {
  content: "";
  position: absolute;
  inset: 28px 8px 22px;
  border-radius: 44px;
  background:
    radial-gradient(circle at 72% 18%, rgba(156, 88, 255, .22), transparent 30%),
    radial-gradient(circle at 18% 72%, rgba(0, 102, 255, .18), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(245, 247, 255, .46));
  box-shadow: 0 40px 120px rgba(37, 47, 120, .16);
  z-index: -3;
}

.coding-grid-dot {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(18, 26, 54, .12) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .35;
  mask-image: radial-gradient(circle at center, #000 0 45%, transparent 72%);
  z-index: -2;
}

.coding-orb,
.coding-orb::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  z-index: -1;
}

.coding-orb-a {
  width: 22px;
  height: 22px;
  top: 70px;
  left: 120px;
  background: linear-gradient(135deg, #39a3ff, #b75cff);
  box-shadow: 0 18px 38px rgba(91, 93, 255, .35);
  animation: codingOrbFloat 6s ease-in-out infinite;
}

.coding-orb-b {
  width: 34px;
  height: 34px;
  right: 135px;
  top: 25px;
  background: linear-gradient(135deg, #8857ff, #f062ff);
  box-shadow: 0 18px 45px rgba(160, 84, 255, .34);
  animation: codingOrbFloat 7s ease-in-out infinite reverse;
}

.coding-window {
  position: relative;
  width: min(92%, 650px);
  border-radius: 34px;
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 34px 100px rgba(21, 32, 83, .18), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  transform: rotateY(-8deg) rotateX(4deg);
  animation: codingWindowFloat 7s ease-in-out infinite;
  overflow: hidden;
}

.coding-window::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(57, 110, 255, .55), rgba(174, 91, 255, .28), rgba(255,255,255,.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.coding-window-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(15, 23, 42, .07);
  background: rgba(255, 255, 255, .72);
}

.coding-dots { display: flex; gap: 7px; flex: 0 0 auto; }
.coding-dots span { width: 10px; height: 10px; border-radius: 50%; display: block; }
.coding-dots span:nth-child(1){ background:#ff665f; }
.coding-dots span:nth-child(2){ background:#ffc857; }
.coding-dots span:nth-child(3){ background:#47d37c; }

.coding-path {
  font-size: 12px;
  font-weight: 800;
  color: rgba(15, 23, 42, .58);
  letter-spacing: -.02em;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.coding-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 900;
  color: #16203b;
  background: rgba(241, 245, 255, .9);
  border: 1px solid rgba(18, 31, 74, .08);
  border-radius: 999px;
  padding: 8px 10px;
}
.coding-status span { width: 8px; height: 8px; border-radius: 50%; background: #20d673; box-shadow: 0 0 0 6px rgba(32,214,115,.12); }

.coding-workspace {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  min-height: 278px;
}

.coding-sidebar {
  padding: 18px 14px;
  border-right: 1px solid rgba(15, 23, 42, .07);
  background: linear-gradient(180deg, rgba(246, 249, 255, .92), rgba(255,255,255,.55));
}
.coding-sidebar .file {
  border-radius: 12px;
  padding: 10px 10px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(15, 23, 42, .48);
  margin-bottom: 6px;
}
.coding-sidebar .file.active {
  background: linear-gradient(135deg, #1d68ff, #7b2cff);
  color: white;
  box-shadow: 0 12px 30px rgba(68, 87, 255, .25);
}

.coding-editor {
  padding: 22px 24px 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(246,248,255,.8));
  overflow: hidden;
}

.code-line {
  display: block;
  width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.9;
  font-weight: 700;
  color: #152039;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-16px);
  animation: codeTypeIn .55s ease forwards;
}
.code-line:nth-child(1){ animation-delay: .15s; }
.code-line:nth-child(2){ animation-delay: .32s; }
.code-line:nth-child(3){ animation-delay: .49s; }
.code-line:nth-child(4){ animation-delay: .66s; }
.code-line:nth-child(5){ animation-delay: .83s; }
.code-line:nth-child(6){ animation-delay: 1s; }
.code-line:nth-child(7){ animation-delay: 1.17s; }
.code-line:nth-child(8){ animation-delay: 1.34s; }
.line-n { color: rgba(15,23,42,.25); margin-right: 14px; user-select: none; }
.indent { padding-left: 18px; }
.purple { color: #8d3cff; }
.blue { color: #1967ff; }
.green { color: #14a66c; }
.active-code {
  margin-top: 6px;
  border-radius: 12px;
  padding: 5px 10px 5px 0;
  background: linear-gradient(90deg, rgba(79, 91, 255, .12), transparent);
}

.coding-terminal {
  margin: 0 22px 22px;
  border-radius: 22px;
  padding: 16px 18px;
  background: #080d1c;
  color: rgba(255,255,255,.76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 55px rgba(8,13,28,.18);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.75;
}
.coding-terminal span { color: #8a62ff; font-weight: 900; }
.terminal-ok { color: #6ff4a5; }
.terminal-cursor span {
  display: inline-block;
  width: 8px;
  height: 15px;
  margin-left: 6px;
  background: #fff;
  vertical-align: -2px;
  animation: cursorBlink 1s steps(2) infinite;
}

.coding-float-card {
  position: absolute;
  min-width: 138px;
  padding: 16px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 22px 65px rgba(33, 44, 105, .15);
  backdrop-filter: blur(14px);
  display: grid;
  gap: 4px;
  z-index: 5;
  animation: floatCard 5.8s ease-in-out infinite;
}
.coding-float-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #1b6cff, #843cff);
  color: white;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(65, 73, 255, .28);
}
.coding-float-card strong { font-size: 15px; color: #081225; letter-spacing: -.03em; }
.coding-float-card small { font-size: 12px; color: rgba(20, 30, 58, .58); font-weight: 700; }

.coding-card-work { left: 8px; top: 185px; animation-delay: -.8s; }
.coding-card-code { right: 0; top: 145px; animation-delay: -1.4s; }
.coding-card-speed { left: 46px; bottom: 100px; animation-delay: -2.2s; }
.coding-card-admin { right: 40px; bottom: 86px; animation-delay: -3s; }

@keyframes codingWindowFloat {
  0%,100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-5deg) rotateX(3deg) translateY(-14px); }
}
@keyframes codingOrbFloat { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-18px) translateX(8px); } }
@keyframes codeTypeIn { to { opacity: 1; transform: translateX(0); } }
@keyframes cursorBlink { 0%, 45% { opacity: 1; } 46%, 100% { opacity: 0; } }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@media (max-width: 1180px) {
  .coding-stage { width: min(100%, 680px); min-height: 520px; }
  .coding-window { width: min(90%, 580px); }
  .coding-card-work { left: 0; }
  .coding-card-code { right: -8px; }
  .coding-card-speed { left: 22px; }
  .coding-card-admin { right: 20px; }
}

@media (max-width: 900px) {
  .hero-coding-visual { width: 100%; }
  .coding-stage {
    width: 100%;
    min-height: 520px;
    padding: 22px 0 38px;
    overflow: hidden;
  }
  .coding-stage::before { inset: 18px 0 12px; border-radius: 34px; }
  .coding-window {
    width: min(92vw, 560px);
    transform: none;
    border-radius: 28px;
    animation: codingWindowFloatMobile 6.6s ease-in-out infinite;
  }
  .coding-workspace { grid-template-columns: 110px minmax(0,1fr); min-height: 260px; }
  .coding-sidebar .file { font-size: 11px; padding: 9px 8px; }
  .code-line { font-size: 12px; line-height: 1.85; }
  .coding-terminal { font-size: 12px; margin: 0 16px 18px; }
  .coding-float-card { min-width: 118px; padding: 12px; border-radius: 18px; }
  .coding-float-card span { width: 36px; height: 36px; border-radius: 13px; }
  .coding-card-work { left: 2vw; top: 170px; }
  .coding-card-code { right: 2vw; top: 150px; }
  .coding-card-speed { left: 5vw; bottom: 72px; }
  .coding-card-admin { right: 5vw; bottom: 66px; }
  @keyframes codingWindowFloatMobile { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
}

@media (max-width: 560px) {
  .coding-stage {
    min-height: 480px;
    padding: 10px 0 24px;
  }
  .coding-window {
    width: 94vw;
    border-radius: 24px;
  }
  .coding-window-top { padding: 14px 15px; gap: 10px; }
  .coding-path { max-width: 120px; }
  .coding-status { font-size: 10px; padding: 7px 8px; }
  .coding-workspace { grid-template-columns: 1fr; min-height: auto; }
  .coding-sidebar {
    display: flex;
    gap: 6px;
    overflow: hidden;
    padding: 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, .07);
  }
  .coding-sidebar .file { margin: 0; flex: 0 0 auto; }
  .coding-editor { padding: 16px 14px 12px; }
  .code-line { font-size: 10.5px; line-height: 1.8; }
  .line-n { margin-right: 8px; }
  .indent { padding-left: 8px; }
  .coding-terminal { padding: 13px 14px; font-size: 11px; border-radius: 18px; }
  .coding-float-card {
    min-width: auto;
    width: 104px;
    padding: 10px;
    gap: 2px;
  }
  .coding-float-card span { width: 32px; height: 32px; }
  .coding-float-card strong { font-size: 12px; }
  .coding-float-card small { font-size: 10px; }
  .coding-card-work { left: 0; top: 82px; }
  .coding-card-code { right: 0; top: 92px; }
  .coding-card-speed { left: 2vw; bottom: 34px; }
  .coding-card-admin { right: 2vw; bottom: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .coding-window,
  .coding-orb,
  .coding-float-card,
  .code-line,
  .terminal-cursor span { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   Premium Bento Trust Section - ZasCoding
   Replaces the simple Why Choose cards with a modern bento UI.
   ========================================================= */
.trust-bento-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(0, 93, 255, 0.10), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(146, 84, 255, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.trust-bento-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(15, 23, 42, 0.10) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.20;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 72%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 72%, transparent);
}

.trust-bento-section .container {
  position: relative;
  z-index: 1;
}

.trust-bento-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 34px;
}

.trust-bento-copy h2 {
  max-width: 820px;
  margin: 14px 0 0;
  font-size: clamp(2.45rem, 5.4vw, 5.9rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.trust-bento-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.trust-bento-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.trust-mini-stat {
  position: relative;
  min-height: 98px;
  padding: 20px;
  border-radius: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.trust-mini-stat::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 14px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--violet), transparent);
  transform-origin: left center;
  transform: scaleX(0.25);
  transition: transform 0.7s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.trust-mini-stat:hover::after,
.trust-mini-stat:focus-within::after {
  transform: scaleX(1);
}

.trust-mini-stat strong,
.trust-mini-stat .count-up {
  display: block;
  color: var(--text);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1;
  font-weight: 950;
}

.trust-mini-stat span:last-child {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.trust-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(210px, auto);
  gap: 18px;
}

.trust-bento-card {
  position: relative;
  isolation: isolate;
  min-height: 230px;
  padding: 26px;
  border-radius: 32px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.38s cubic-bezier(0.2, 0.9, 0.2, 1),
              box-shadow 0.38s ease,
              border-color 0.38s ease;
}

.trust-bento-card:nth-child(1) {
  grid-column: span 2;
  min-height: 290px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background:
    radial-gradient(circle at 22% 10%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #091124, #175CFF 52%, #8B3DFF);
}

.trust-bento-card:nth-child(2) {
  grid-column: span 2;
  min-height: 290px;
  background:
    radial-gradient(circle at 88% 18%, rgba(124, 60, 255, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,248,255,0.78));
}

.trust-bento-card:nth-child(5) {
  grid-column: span 2;
}

.trust-bento-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  opacity: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 35%), rgba(0, 93, 255, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(0, 93, 255, 0.28), rgba(146, 84, 255, 0.22), transparent 60%);
  transition: opacity 0.38s ease;
}

.trust-bento-card:hover {
  transform: translateY(-10px) scale(1.012);
  border-color: rgba(0, 93, 255, 0.24);
  box-shadow: 0 32px 100px rgba(15, 23, 42, 0.14), 0 18px 45px rgba(85, 70, 255, 0.10);
}

.trust-bento-card:hover::before {
  opacity: 1;
}

.trust-bento-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.trust-bento-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 18px 38px rgba(0, 93, 255, 0.20);
  font-size: 1.3rem;
  transition: transform 0.38s ease;
}

.trust-bento-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(15, 23, 42, 0.70);
  border: 1px solid rgba(15, 23, 42, 0.09);
  background: rgba(255, 255, 255, 0.70);
  font-weight: 950;
  letter-spacing: 0.08em;
}

.trust-bento-card:nth-child(1) .trust-bento-icon {
  color: #0b1020;
  background: rgba(255, 255, 255, 0.92);
}

.trust-bento-card:nth-child(1) .trust-bento-no {
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.10);
}

.trust-bento-card h3 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(1.3rem, 2.1vw, 2.05rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.trust-bento-card p {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.68;
}

.trust-bento-card:nth-child(1) p,
.trust-bento-card:nth-child(1) h3 {
  color: #fff;
}

.trust-bento-card:nth-child(1) p {
  color: rgba(255, 255, 255, 0.76);
}

.trust-bento-line {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 22px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--violet), transparent);
  transform: scaleX(0.28);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.trust-bento-card:hover .trust-bento-line,
.trust-bento-card.is-visible .trust-bento-line {
  transform: scaleX(1);
}

.trust-bento-card:hover .trust-bento-icon {
  transform: translateY(-4px) rotate(-6deg) scale(1.06);
}

body.dark-mode .trust-bento-section {
  background:
    radial-gradient(circle at 15% 10%, rgba(0, 93, 255, 0.15), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(146, 84, 255, 0.18), transparent 35%),
    linear-gradient(180deg, #070b18, #0b1020);
}

body.dark-mode .trust-bento-card,
body.dark-mode .trust-mini-stat {
  border-color: rgba(255,255,255,0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
}

body.dark-mode .trust-bento-no {
  color: rgba(255,255,255,0.72);
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

@media (max-width: 1100px) {
  .trust-bento-head {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .trust-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-bento-card:nth-child(1),
  .trust-bento-card:nth-child(2),
  .trust-bento-card:nth-child(5) {
    grid-column: span 1;
    min-height: 250px;
  }
}

@media (max-width: 720px) {
  .trust-bento-section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .trust-bento-copy h2 {
    font-size: clamp(2.45rem, 13vw, 4.1rem);
    line-height: 0.92;
  }

  .trust-bento-stats,
  .trust-bento-grid {
    grid-template-columns: 1fr;
  }

  .trust-bento-card,
  .trust-bento-card:nth-child(1),
  .trust-bento-card:nth-child(2),
  .trust-bento-card:nth-child(5) {
    min-height: auto;
    padding: 24px;
    border-radius: 28px;
  }

  .trust-bento-card h3 {
    font-size: 1.55rem;
  }

  .trust-bento-card p {
    font-size: 0.98rem;
  }
}


/* =========================================================
   FINAL OVERRIDE: Bento Trust Section visible design fix
   This block is intentionally loaded at the very end to avoid cache/old CSS issues.
   ========================================================= */
.trust-bento-section.final-fixed,
.trust-bento-section {
  position: relative !important;
  overflow: hidden !important;
  padding: clamp(82px, 8vw, 130px) 0 !important;
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 102, 255, .10), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(140, 80, 255, .13), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 52%, #f7f8ff 100%) !important;
}
.trust-bento-section::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background-image: radial-gradient(rgba(15,23,42,.12) 1px, transparent 1px) !important;
  background-size: 22px 22px !important;
  opacity: .18 !important;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 84%, transparent) !important;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 84%, transparent) !important;
}
.trust-bento-section .container {
  position: relative !important;
  z-index: 1 !important;
  width: min(1180px, calc(100% - 40px)) !important;
  margin-inline: auto !important;
}
.trust-bento-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px) !important;
  gap: clamp(28px, 5vw, 72px) !important;
  align-items: end !important;
  margin-bottom: clamp(28px, 4vw, 52px) !important;
}
.trust-bento-copy .eyebrow,
.trust-bento-copy > span {
  display: inline-flex !important;
  width: fit-content !important;
  color: #065dff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  margin-bottom: 14px !important;
}
.trust-bento-copy h2 {
  display: block !important;
  margin: 0 !important;
  max-width: 780px !important;
  font-size: clamp(44px, 5.4vw, 88px) !important;
  line-height: .90 !important;
  letter-spacing: -.075em !important;
  color: #080d1d !important;
}
.trust-bento-copy p {
  display: block !important;
  max-width: 620px !important;
  margin: 24px 0 0 !important;
  color: #5f6b84 !important;
  font-size: 17px !important;
  line-height: 1.75 !important;
}
.trust-bento-stats {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}
.trust-mini-stat {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 112px !important;
  padding: 22px !important;
  border-radius: 28px !important;
  border: 1px solid rgba(15,23,42,.09) !important;
  background: rgba(255,255,255,.88) !important;
  box-shadow: 0 22px 70px rgba(15,23,42,.08) !important;
  overflow: hidden !important;
}
.trust-mini-stat strong,
.trust-mini-stat .count-up,
.trust-mini-stat > span:first-child {
  display: block !important;
  color: #080d1d !important;
  font-size: clamp(26px, 2.2vw, 34px) !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: -.04em !important;
}
.trust-mini-stat span:last-child {
  display: block !important;
  margin-top: 10px !important;
  color: #5f6b84 !important;
  font-size: 14px !important;
}
.trust-mini-stat::after {
  content: "" !important;
  height: 3px !important;
  width: 100% !important;
  margin-top: 16px !important;
  border-radius: 99px !important;
  background: linear-gradient(90deg, #065dff, #8b3dff, transparent) !important;
  transform-origin: left center !important;
  transform: scaleX(.34) !important;
  transition: transform .55s cubic-bezier(.2,.9,.2,1) !important;
}
.trust-mini-stat:hover::after,
.trust-mini-stat.is-visible::after { transform: scaleX(1) !important; }
.trust-bento-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-rows: minmax(230px, auto) !important;
  gap: 18px !important;
  align-items: stretch !important;
}
.trust-bento-card {
  position: relative !important;
  isolation: isolate !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 240px !important;
  padding: 28px !important;
  border-radius: 34px !important;
  border: 1px solid rgba(15,23,42,.09) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,255,.78)) !important;
  box-shadow: 0 26px 80px rgba(15,23,42,.09) !important;
  overflow: hidden !important;
  transition: transform .35s cubic-bezier(.2,.9,.2,1), box-shadow .35s ease, border-color .35s ease !important;
}
.trust-bento-card:nth-child(1) {
  grid-column: span 2 !important;
  min-height: 305px !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.24) !important;
  background:
    radial-gradient(circle at 20% 12%, rgba(255,255,255,.28), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(255,255,255,.16), transparent 26%),
    linear-gradient(135deg, #090f22 0%, #065dff 55%, #8b3dff 100%) !important;
}
.trust-bento-card:nth-child(2),
.trust-bento-card:nth-child(5) { grid-column: span 2 !important; }
.trust-bento-card::before {
  content: "" !important;
  position: absolute !important;
  inset: -1px !important;
  z-index: -1 !important;
  border-radius: inherit !important;
  background: radial-gradient(circle at 70% 0%, rgba(139,61,255,.20), transparent 34%) !important;
  opacity: 0 !important;
  transition: opacity .35s ease !important;
}
.trust-bento-card:hover {
  transform: translateY(-10px) scale(1.012) !important;
  border-color: rgba(6,93,255,.24) !important;
  box-shadow: 0 34px 100px rgba(15,23,42,.14), 0 18px 55px rgba(75,70,255,.12) !important;
}
.trust-bento-card:hover::before { opacity: 1 !important; }
.trust-bento-card-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-bottom: 26px !important;
}
.trust-bento-icon {
  display: grid !important;
  place-items: center !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 20px !important;
  color: #fff !important;
  font-size: 22px !important;
  background: linear-gradient(135deg, #065dff, #8b3dff) !important;
  box-shadow: 0 18px 40px rgba(6,93,255,.22) !important;
}
.trust-bento-no {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 60px !important;
  height: 42px !important;
  padding: 0 15px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(15,23,42,.09) !important;
  background: rgba(255,255,255,.72) !important;
  color: rgba(15,23,42,.70) !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
}
.trust-bento-card:nth-child(1) .trust-bento-icon {
  color: #080d1d !important;
  background: rgba(255,255,255,.93) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.16) !important;
}
.trust-bento-card:nth-child(1) .trust-bento-no {
  color: rgba(255,255,255,.88) !important;
  border-color: rgba(255,255,255,.22) !important;
  background: rgba(255,255,255,.12) !important;
}
.trust-bento-card h3 {
  display: block !important;
  max-width: 560px !important;
  margin: 0 !important;
  color: #080d1d !important;
  font-size: clamp(25px, 2.1vw, 34px) !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em !important;
}
.trust-bento-card p {
  display: block !important;
  max-width: 560px !important;
  margin: 16px 0 0 !important;
  color: #5f6b84 !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}
.trust-bento-card:nth-child(1) h3,
.trust-bento-card:nth-child(1) p { color: #fff !important; }
.trust-bento-card:nth-child(1) p { color: rgba(255,255,255,.77) !important; }
.trust-bento-line {
  display: block !important;
  position: absolute !important;
  left: 28px !important;
  right: 28px !important;
  bottom: 24px !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #065dff, #8b3dff, transparent) !important;
  transform: scaleX(.28) !important;
  transform-origin: left center !important;
  transition: transform .55s cubic-bezier(.2,.9,.2,1) !important;
}
.trust-bento-card:nth-child(1) .trust-bento-line { background: linear-gradient(90deg, #fff, rgba(255,255,255,.25), transparent) !important; }
.trust-bento-card:hover .trust-bento-line,
.trust-bento-card.is-visible .trust-bento-line { transform: scaleX(1) !important; }
@media (max-width: 1100px) {
  .trust-bento-head { grid-template-columns: 1fr !important; align-items: start !important; }
  .trust-bento-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  .trust-bento-card:nth-child(1),
  .trust-bento-card:nth-child(2),
  .trust-bento-card:nth-child(5) { grid-column: span 1 !important; min-height: 260px !important; }
}
@media (max-width: 720px) {
  .trust-bento-section { padding: 74px 0 !important; }
  .trust-bento-section .container { width: min(100% - 28px, 560px) !important; }
  .trust-bento-copy h2 { font-size: clamp(38px, 12vw, 56px) !important; line-height: .94 !important; }
  .trust-bento-copy p { font-size: 15px !important; line-height: 1.65 !important; }
  .trust-bento-stats,
  .trust-bento-grid { grid-template-columns: 1fr !important; }
  .trust-mini-stat { min-height: 96px !important; border-radius: 24px !important; }
  .trust-bento-card,
  .trust-bento-card:nth-child(1),
  .trust-bento-card:nth-child(2),
  .trust-bento-card:nth-child(5) {
    min-height: auto !important;
    padding: 24px !important;
    border-radius: 28px !important;
  }
  .trust-bento-card h3 { font-size: 25px !important; }
  .trust-bento-card p { font-size: 15px !important; }
  .trust-bento-line { left: 24px !important; right: 24px !important; bottom: 20px !important; }
}

/* =========================================================
   Admin controlled icons for Trust Cards + Process Steps
   ========================================================= */
.trust-bento-icon img,
.process-step-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.trust-bento-icon {
  overflow: hidden !important;
}

.process-step-media {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
  flex: 0 0 auto !important;
}

.process-step-icon {
  display: grid !important;
  place-items: center !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 20px !important;
  color: #fff !important;
  font-size: 22px !important;
  background: linear-gradient(135deg, #065dff, #8b3dff) !important;
  box-shadow: 0 18px 40px rgba(6,93,255,.20) !important;
  overflow: hidden !important;
  transition: transform .35s cubic-bezier(.2,.9,.2,1), box-shadow .35s ease !important;
}

.process-step:hover .process-step-icon {
  transform: translateY(-4px) rotate(-4deg) scale(1.06) !important;
  box-shadow: 0 22px 52px rgba(6,93,255,.26) !important;
}

.process-step {
  align-items: flex-start !important;
  gap: 22px !important;
}

@media (max-width: 760px) {
  .process-step {
    gap: 16px !important;
  }

  .process-step-media {
    flex-direction: row !important;
    align-items: center !important;
  }

  .process-step-icon,
  .trust-bento-icon {
    width: 50px !important;
    height: 50px !important;
    border-radius: 17px !important;
    font-size: 19px !important;
  }
}

/* =========================================================
   FINAL FIX 2026-07-03
   1) Mobile menu background 100% solid / readable
   2) Admin logo size control really works on desktop + phone
   3) Dark mode rebuilt from zero with full professional styling
========================================================= */

/* 1) Phone menu: no transparent/low-opacity background */
@media (max-width: 820px) {
  .mobile-menu,
  body .mobile-menu,
  .menu-open .mobile-menu {
    background: #ffffff !important;
    background-color: #ffffff !important;
    opacity: 1;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border: 1px solid rgba(7, 11, 24, 0.10) !important;
    box-shadow: 0 24px 80px rgba(7, 11, 24, 0.18) !important;
  }

  .menu-open .mobile-menu {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .mobile-menu a,
  .mobile-menu .lang-current,
  .mobile-menu select {
    color: #07111f !important;
  }
}

/* 2) Logo size: use only admin CSS variables, remove old caps */
.site-header .brand,
body .site-header .brand {
  max-width: calc(var(--brand-logo-max-width, 148px) + 12px) !important;
  width: auto !important;
  min-width: 0 !important;
  overflow: visible !important;
  flex: 0 1 auto !important;
}

.site-header .brand > img.brand-logo-img,
.site-header img.brand-logo-img,
body .brand-logo-img {
  width: auto !important;
  height: var(--brand-logo-height, 38px) !important;
  min-height: 0 !important;
  max-height: var(--brand-logo-height, 38px) !important;
  max-width: var(--brand-logo-max-width, 148px) !important;
  object-fit: contain !important;
  object-position: left center !important;
  flex-shrink: 0 !important;
}

.footer-brand img.brand-logo-img,
body .footer-brand img.brand-logo-img {
  width: auto !important;
  height: var(--footer-logo-height, 34px) !important;
  max-height: var(--footer-logo-height, 34px) !important;
  max-width: var(--brand-logo-max-width, 148px) !important;
  object-fit: contain !important;
}

@media (max-width: 768px) {
  .site-header .brand,
  body .site-header .brand {
    max-width: calc(var(--brand-logo-max-width, 148px) + 8px) !important;
    overflow: visible !important;
  }

  .site-header .brand > img.brand-logo-img,
  .site-header img.brand-logo-img,
  body .brand-logo-img {
    height: var(--brand-logo-mobile-height, 34px) !important;
    max-height: var(--brand-logo-mobile-height, 34px) !important;
    max-width: var(--brand-logo-max-width, 148px) !important;
  }

  .header-inner {
    min-height: max(72px, calc(var(--brand-logo-mobile-height, 34px) + 32px));
  }
}

/* 3) Dark mode rebuilt from zero */
body.dark-mode {
  --bg: #050812;
  --bg-soft: #0a1020;
  --bg-card: rgba(14, 22, 40, 0.96);
  --text: #f7fbff;
  --muted: #aeb9cf;
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  --shadow-soft: 0 18px 54px rgba(0, 0, 0, 0.36);
  background:
    radial-gradient(circle at 8% 4%, rgba(0, 93, 255, 0.18), transparent 30%),
    radial-gradient(circle at 92% 12%, rgba(124, 60, 255, 0.20), transparent 32%),
    radial-gradient(circle at 50% 100%, rgba(0, 216, 255, 0.08), transparent 42%),
    #050812 !important;
  color: #f7fbff !important;
}

body.dark-mode .page-noise {
  opacity: 0.10;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 0.8px, transparent 0.8px) !important;
}

body.dark-mode .cursor-glow {
  background: radial-gradient(circle, rgba(0, 216, 255, 0.15), rgba(124, 60, 255, 0.08), transparent 66%) !important;
}

body.dark-mode .site-header {
  background: rgba(5, 8, 18, 0.98) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

body.dark-mode .site-header.is-scrolled {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42) !important;
}

body.dark-mode .desktop-nav,
body.dark-mode .lang-current,
body.dark-mode .theme-toggle,
body.dark-mode .menu-toggle,
body.dark-mode .mobile-native-lang select {
  background: rgba(255, 255, 255, 0.055) !important;
  border-color: rgba(255, 255, 255, 0.13) !important;
  color: #f7fbff !important;
}

body.dark-mode .desktop-nav a {
  color: #b6c2d8 !important;
}

body.dark-mode .desktop-nav a:hover,
body.dark-mode .mobile-menu a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .lang-menu {
  background: #090f1f !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45) !important;
}

body.dark-mode .mobile-menu,
body.dark-mode.menu-open .mobile-menu {
  background: #080e1d !important;
  background-color: #080e1d !important;
  border-color: rgba(255, 255, 255, 0.13) !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.56) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

body.dark-mode .mobile-menu a,
body.dark-mode .mobile-menu .lang-current,
body.dark-mode .mobile-menu select {
  color: #f7fbff !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

body.dark-mode .menu-toggle span {
  background: #f7fbff !important;
}

body.dark-mode .light-section,
body.dark-mode section,
body.dark-mode .hero,
body.dark-mode .services,
body.dark-mode .trust-bento-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 93, 255, 0.10), transparent 30%),
    radial-gradient(circle at 92% 5%, rgba(124, 60, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #050812 0%, #070d1b 54%, #050812 100%) !important;
}

body.dark-mode .hero-bg-shape,
body.dark-mode .hero-showcase::before,
body.dark-mode .premium-panel::before {
  opacity: 0.85 !important;
}

body.dark-mode .hero-title,
body.dark-mode .section-heading h2,
body.dark-mode .cta h2,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode strong {
  color: #ffffff !important;
}

body.dark-mode .hero-subtitle,
body.dark-mode .section-heading p,
body.dark-mode p,
body.dark-mode .muted,
body.dark-mode small,
body.dark-mode .service-3d-content p,
body.dark-mode .trust-bento-card p,
body.dark-mode .process-card p,
body.dark-mode .price-card li,
body.dark-mode .faq-answer,
body.dark-mode .testimonial-card p {
  color: #aeb9cf !important;
}

body.dark-mode .badge,
body.dark-mode .hero-proof div,
body.dark-mode .premium-panel,
body.dark-mode .floating-card,
body.dark-mode .work-card,
body.dark-mode .work-card-inner,
body.dark-mode .service-3d-card,
body.dark-mode .trust-bento-card,
body.dark-mode .trust-mini-stat,
body.dark-mode .process-card,
body.dark-mode .price-card,
body.dark-mode .testimonial-card,
body.dark-mode .faq-item,
body.dark-mode .contact-card,
body.dark-mode .footer-card,
body.dark-mode .glass-card,
body.dark-mode .admin-card,
body.dark-mode .stat-card {
  background:
    linear-gradient(145deg, rgba(17, 27, 50, 0.98), rgba(8, 14, 29, 0.98)) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  color: #f7fbff !important;
}

body.dark-mode .trust-bento-card.is-featured,
body.dark-mode .price-card.featured,
body.dark-mode .service-3d-card.is-active,
body.dark-mode .work-slide.is-active .work-card,
body.dark-mode .cta-panel {
  background:
    radial-gradient(circle at 16% 10%, rgba(0, 216, 255, 0.16), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(124, 60, 255, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(18, 32, 62, 0.99), rgba(9, 16, 35, 0.99)) !important;
  border-color: rgba(0, 216, 255, 0.24) !important;
}

body.dark-mode .work-card .work-image,
body.dark-mode .work-image,
body.dark-mode .service-3d-icon,
body.dark-mode .trust-icon,
body.dark-mode .process-icon {
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 216, 255, 0.16), transparent 34%),
    linear-gradient(145deg, #101a31, #080e1d) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
}

body.dark-mode .work-card .work-image img,
body.dark-mode .work-image img {
  background: #0b1224 !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36) !important;
}

body.dark-mode .btn-dark,
body.dark-mode .btn-primary,
body.dark-mode .work-preview-btn,
body.dark-mode .admin-btn {
  color: #ffffff !important;
  background: linear-gradient(135deg, #006dff, #8b4dff) !important;
  box-shadow: 0 18px 46px rgba(0, 93, 255, 0.28) !important;
}

body.dark-mode .btn-ghost,
body.dark-mode .work-contact-btn,
body.dark-mode .services-3d-arrow,
body.dark-mode .service-3d-cta,
body.dark-mode .faq-question,
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
  color: #f7fbff !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
  color: rgba(174, 185, 207, 0.72) !important;
}

body.dark-mode .gradient-text {
  background: linear-gradient(135deg, #58d7ff, #8b6bff 58%, #ffffff) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

body.dark-mode .footer,
body.dark-mode footer {
  background: #040711 !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
}

body.dark-mode .theme-toggle span {
  color: #ffffff !important;
}

body.dark-mode .theme-toggle span::before {
  content: "☀";
}

body.dark-mode .theme-toggle span {
  font-size: 0;
}

body.dark-mode .theme-toggle span::before {
  font-size: 18px;
}

/* Professional SVG theme toggle icons - no emoji */
.theme-toggle {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(15, 23, 42, 0.10) !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08) !important;
}

.theme-toggle::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(124, 58, 237, 0.14));
  opacity: 0;
  transition: opacity .25s ease;
  z-index: -1;
}

.theme-toggle:hover::before { opacity: 1; }

.theme-toggle-icon {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  font-size: 0 !important;
  line-height: 1 !important;
  color: inherit !important;
  transition: transform .28s ease, opacity .28s ease;
}

.theme-toggle-icon::before { content: none !important; }

.theme-toggle-icon svg {
  width: 19px !important;
  height: 19px !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.theme-icon-sun { color: #f59e0b !important; }
.theme-icon-moon { color: #2563eb !important; }

.theme-toggle[data-current-theme="light"] .theme-icon-sun {
  opacity: 0 !important;
  transform: translateY(12px) rotate(40deg) scale(.72) !important;
}

.theme-toggle[data-current-theme="light"] .theme-icon-moon {
  opacity: 1 !important;
  transform: translateY(0) rotate(0) scale(1) !important;
}

.theme-toggle[data-current-theme="dark"] .theme-icon-sun {
  opacity: 1 !important;
  transform: translateY(0) rotate(0) scale(1) !important;
}

.theme-toggle[data-current-theme="dark"] .theme-icon-moon {
  opacity: 0 !important;
  transform: translateY(-12px) rotate(-40deg) scale(.72) !important;
}

body.dark-mode .theme-toggle {
  background: rgba(15, 23, 42, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.30) !important;
}

body.dark-mode .theme-toggle span,
body.dark-mode .theme-toggle span::before {
  font-size: 0 !important;
  content: none !important;
}

/* FINAL FIX: make hero stats readable in dark mode */
body.dark-mode .hero-proof div,
body.dark-mode .stats-grid div {
  background: linear-gradient(145deg, rgba(17, 27, 50, 0.98), rgba(8, 14, 29, 0.98)) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

body.dark-mode .hero-proof strong,
body.dark-mode .stats-grid strong,
body.dark-mode .trust-mini-stat strong,
body.dark-mode .stat-card strong,
body.dark-mode .count-up {
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 0 18px rgba(124, 96, 255, 0.18) !important;
}

body.dark-mode .hero-proof span,
body.dark-mode .stats-grid span,
body.dark-mode .trust-mini-stat span,
body.dark-mode .stat-card span {
  color: #d7deef !important;
  opacity: 1 !important;
}

/* =========================================================
   FIX: Mobile menu CTA button readable and solid
   The CTA inside the phone menu must always show clear text.
========================================================= */
@media (max-width: 820px) {
  .mobile-menu .btn,
  .mobile-menu a.btn,
  .mobile-menu a.btn-dark,
  .mobile-menu a.btn-primary {
    width: 100% !important;
    min-height: 56px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 14px !important;
    padding: 16px 22px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #050812 0%, #111827 48%, #6d35ff 100%) !important;
    color: #ffffff !important;
    font-weight: 950 !important;
    font-size: 0.95rem !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    -webkit-filter: none !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 18px 42px rgba(7, 11, 24, 0.28) !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 5 !important;
  }

  .mobile-menu .btn::before,
  .mobile-menu .btn::after,
  .mobile-menu a.btn::before,
  .mobile-menu a.btn::after {
    content: none !important;
    display: none !important;
  }

  .mobile-menu .mobile-lang-dropdown,
  .mobile-menu .mobile-native-lang {
    position: relative !important;
    z-index: 4 !important;
  }

  body.dark-mode .mobile-menu .btn,
  body.dark-mode .mobile-menu a.btn,
  body.dark-mode .mobile-menu a.btn-dark,
  body.dark-mode .mobile-menu a.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #eaf0ff 55%, #c7d2ff 100%) !important;
    color: #050812 !important;
    -webkit-text-fill-color: #050812 !important;
    box-shadow: 0 18px 46px rgba(255, 255, 255, 0.10) !important;
  }
}


/* =========================================================
   FIX: Mobile menu CTA visible + dark mode language arrow
========================================================= */
@media (max-width: 820px) {
  .mobile-menu .mobile-menu-cta,
  .mobile-menu a.mobile-menu-cta {
    display: inline-flex !important;
    width: 100% !important;
    min-height: 56px !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 16px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #050812 0%, #151b2d 52%, #6d35ff 100%) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-weight: 950 !important;
    box-shadow: 0 18px 42px rgba(7, 11, 24, 0.26) !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    -webkit-filter: none !important;
    text-align: center !important;
    text-decoration: none !important;
    position: relative !important;
    z-index: 20 !important;
  }

  body.dark-mode .mobile-menu .mobile-menu-cta,
  body.dark-mode .mobile-menu a.mobile-menu-cta {
    background: linear-gradient(135deg, #ffffff 0%, #eef3ff 58%, #cdd8ff 100%) !important;
    color: #050812 !important;
    -webkit-text-fill-color: #050812 !important;
    box-shadow: 0 18px 46px rgba(255, 255, 255, 0.10) !important;
  }
}

body.dark-mode .lang-current .lang-caret,
body.dark-mode .mobile-lang-dropdown .lang-caret,
body.dark-mode .header-lang .lang-caret {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}

body.dark-mode .mobile-native-lang select {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-image:
    linear-gradient(45deg, transparent 50%, #ffffff 50%),
    linear-gradient(135deg, #ffffff 50%, transparent 50%) !important;
}

body.dark-mode .lang-current svg,
body.dark-mode .mobile-native-lang svg {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}


/* =========================================================
   FINAL FIX: Dark mode language selector (mobile + desktop)
   No white broken pill, no black triangle, text always visible.
========================================================= */
.lang-caret {
  width: 14px !important;
  height: 14px !important;
  font-size: 0 !important;
  line-height: 1 !important;
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 14px !important;
}

.lang-caret::before {
  content: "" !important;
  width: 7px !important;
  height: 7px !important;
  border-right: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: rotate(45deg) translateY(-2px) !important;
  display: block !important;
}

.lang-dropdown.open .lang-caret::before {
  transform: rotate(225deg) translateY(-2px) !important;
}

body.dark-mode .lang-current,
body.dark-mode .mobile-menu .lang-current,
body.dark-mode .header-lang .lang-current {
  background: rgba(12, 18, 34, 0.98) !important;
  background-color: rgba(12, 18, 34, 0.98) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.30) !important;
  opacity: 1 !important;
  filter: none !important;
  -webkit-filter: none !important;
}

body.dark-mode .lang-current span,
body.dark-mode .mobile-menu .lang-current span,
body.dark-mode .header-lang .lang-current span,
body.dark-mode .lang-current .lang-caret,
body.dark-mode .mobile-menu .lang-current .lang-caret,
body.dark-mode .header-lang .lang-current .lang-caret {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}

body.dark-mode .lang-current .lang-caret::before,
body.dark-mode .mobile-menu .lang-current .lang-caret::before,
body.dark-mode .header-lang .lang-current .lang-caret::before {
  border-color: #ffffff !important;
}

body.dark-mode .lang-menu {
  background: rgba(8, 13, 27, 0.98) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.40) !important;
}

body.dark-mode .lang-menu a {
  color: #dbe6ff !important;
  -webkit-text-fill-color: #dbe6ff !important;
}

body.dark-mode .lang-menu a:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.mobile-native-lang::after {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 7px;
  height: 7px;
  right: 15px;
  top: 50%;
  margin-top: -5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  color: #0b1020;
  z-index: 3;
}

html[dir="rtl"] .mobile-native-lang::after {
  right: auto;
  left: 15px;
}

.mobile-native-lang select {
  background-image: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  color: #0b1020 !important;
  -webkit-text-fill-color: #0b1020 !important;
}

body.dark-mode .mobile-native-lang {
  color: #ffffff !important;
}

body.dark-mode .mobile-native-lang::after {
  color: #ffffff !important;
  border-color: #ffffff !important;
}

body.dark-mode .mobile-native-lang select,
body.dark-mode .mobile-menu .mobile-native-lang select {
  background: rgba(12, 18, 34, 0.98) !important;
  background-color: rgba(12, 18, 34, 0.98) !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.30) !important;
  opacity: 1 !important;
  filter: none !important;
  -webkit-filter: none !important;
}

@media (max-width: 820px) {
  .mobile-menu .mobile-lang-dropdown .lang-current {
    width: 100% !important;
    min-height: 48px !important;
    justify-content: space-between !important;
    padding-inline: 16px !important;
  }

  body.dark-mode .mobile-menu .mobile-lang-dropdown .lang-current {
    background: rgba(12, 18, 34, 0.98) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }
}

/* =========================================================
   FINAL FIX: Keep "Start a Project" only inside the mobile menu
   ---------------------------------------------------------
   On phones, the hero primary CTA is hidden so it does not appear
   again inside the hero section. The header/mobile-menu CTA stays visible.
========================================================= */
@media (max-width: 768px) {
  .hero .hero-buttons .btn-primary {
    display: none !important;
  }

  .hero .hero-buttons {
    display: flex !important;
    justify-content: flex-start !important;
    margin-top: 24px !important;
  }

  .hero .hero-buttons .btn-ghost {
    width: auto !important;
    max-width: 220px !important;
    flex: 0 0 auto !important;
    min-height: 48px !important;
    padding-inline: 22px !important;
  }
}

@media (max-width: 480px) {
  .hero .hero-buttons .btn-ghost {
    width: 100% !important;
    max-width: 240px !important;
  }
}

/* =========================================================
   FINAL FIX 2026-07-03: Mobile menu CTA visibility
   - Hero primary CTA stays visible in the hero.
   - Mobile menu CTA appears ONLY when the menu is open.
   - Prevent child visibility overrides from leaking the CTA outside menu.
========================================================= */
@media (max-width: 820px) {
  body:not(.menu-open) .mobile-menu,
  body:not(.menu-open) [data-mobile-menu] {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-14px) scale(0.98) !important;
  }

  body:not(.menu-open) .mobile-menu *,
  body:not(.menu-open) [data-mobile-menu] * {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.menu-open .mobile-menu,
  body.menu-open [data-mobile-menu] {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
  }

  body.menu-open .mobile-menu *,
  body.menu-open [data-mobile-menu] * {
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .hero .hero-buttons .btn-primary {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* =========================================================
   FINAL FIX 2026-07-03: Hero mobile CTA equal width
   - Keep both hero buttons visible.
   - Make View Our Work same width as Start Your Website.
   - This applies only on phone/tablet hero area.
========================================================= */
@media (max-width: 768px) {
  .hero .hero-buttons {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 26px !important;
  }

  .hero .hero-buttons .btn,
  .hero .hero-buttons .btn-primary,
  .hero .hero-buttons .btn-ghost {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 56px !important;
    flex: none !important;
    flex-basis: auto !important;
    justify-content: center !important;
    align-items: center !important;
    padding-inline: 22px !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 480px) {
  .hero .hero-buttons .btn,
  .hero .hero-buttons .btn-primary,
  .hero .hero-buttons .btn-ghost {
    width: 100% !important;
    max-width: none !important;
    min-height: 56px !important;
  }
}

/* Smooth scrolling upgrade */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

section[id],
header[id],
#works,
#services,
#process,
#pricing,
#contact,
#faq,
#testimonials,
#why {
  scroll-margin-top: 96px;
}

@media (max-width: 820px) {
  html { scroll-padding-top: 84px; }
  section[id],
  header[id],
  #works,
  #services,
  #process,
  #pricing,
  #contact,
  #faq,
  #testimonials,
  #why {
    scroll-margin-top: 84px;
  }
}
