:root {
  --mahir-display: "Syne", system-ui, -apple-system, sans-serif;
  --mahir-body: "Syne", system-ui, -apple-system, sans-serif;
  --mahir-mono: "Syne", system-ui, -apple-system, sans-serif;
}

/* ============ Fixed top navbar (white theme) ============ */
.mahir-floating-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
}
.mahir-floating-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  padding: .6rem 1.25rem;
  box-shadow: none;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.mahir-floating-nav.is-scrolled .mahir-floating-nav-inner { border-bottom: 1px solid transparent; box-shadow: none; }
.mahir-floating-nav .nav-brand { display: inline-flex; align-items: center; gap: .6rem; color:#111111 !important; text-decoration:none; }
.mahir-floating-nav .nav-logo-chip { display:inline-flex; align-items:center; justify-content:center; height:2.4rem; }
.mahir-floating-nav .nav-logo-chip img { height:100%; width:auto; object-fit:contain; filter: invert(1); }
.mahir-floating-nav nav { display:none; gap:1.6rem; align-items:center; }
@media (min-width: 1024px) { .mahir-floating-nav nav { display:flex; } }
.mahir-floating-nav .nav-link {
  font-family: var(--mahir-mono);
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.78) !important;
  text-decoration:none;
  position: relative;
  padding: .35rem 0;
  transition: color .2s ease;
}
.mahir-floating-nav .nav-link:hover,
.mahir-floating-nav .nav-link:active,
.mahir-floating-nav .nav-link:focus,
.mahir-floating-nav .nav-link.active { color:#000 !important; text-decoration: none !important; border: none !important; box-shadow: none !important; }

/* Fancy animated Contact (conic gradient border) */
.mahir-nav-contact-fancy {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  height: 2.5rem;
  padding: 1px;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  border: none;
  background: transparent;
}
.mahir-nav-contact-fancy .nc-ring {
  position: absolute;
  inset: -1000%;
  background: conic-gradient(from 90deg at 50% 50%, #ffffff 0%, #000000 50%, #ffffff 100%);
  animation: mahirNcSpin 2s linear infinite;
}
.mahir-nav-contact-fancy .nc-inner {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  padding: .25rem 1.5rem;
  border-radius: 0;
  background: #000000;
  color: #fff !important;
  font-family: var(--mahir-mono);
  font-weight: 300;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  backdrop-filter: blur(20px);
  transition: background .2s ease;
}
.mahir-nav-contact-fancy:hover .nc-inner { background: #14142b; }
@keyframes mahirNcSpin { to { transform: rotate(360deg); } }
@keyframes mahirContactPulse { 0%, 100% { box-shadow: 0 0 0 rgba(255,255,255,0); } 50% { box-shadow: 0 0 24px rgba(125,211,252,.22); } }
@keyframes mahirContactSweep { 0%, 44% { transform: translateX(-160%) skewX(-16deg); } 72%, 100% { transform: translateX(160%) skewX(-16deg); } }
@media (prefers-reduced-motion: reduce) { .mahir-nav-contact-fancy .nc-ring { animation: none; } }
.mahir-nav-contact-desktop { display: none; }
@media (min-width: 1024px) { .mahir-nav-contact-desktop { display: inline-flex; } }

/* Hamburger + mobile drawer */
.mahir-nav-hamburger {
  display: inline-flex; align-items:center; justify-content:center;
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  background: rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.14);
  color:#111111; cursor:pointer; padding: 0;
}
@media (min-width: 1024px) { .mahir-nav-hamburger { display: none; } }
.mahir-nav-hamburger svg { width: 18px; height: 18px; }
.mahir-mobile-drawer {
  position: fixed; inset: 0; z-index: 99; background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  display: flex; flex-direction: column; align-items:center; justify-content:center;
  gap: 1.75rem; padding: 4rem 1.5rem;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.mahir-mobile-drawer.open { opacity: 1; pointer-events: auto; }
.mahir-mobile-drawer a {
  color:#111111 !important; text-decoration:none;
  font-family: var(--mahir-mono); font-weight:300;
  font-size: .95rem; letter-spacing: .2em; text-transform: uppercase;
}
.mahir-mobile-drawer .mahir-nav-contact-fancy { height: 3rem; margin-top: 1rem; }
.mahir-mobile-drawer .mahir-nav-contact-fancy .nc-inner { font-size: .78rem; padding: .5rem 2rem; }
@media (min-width: 1024px) { .mahir-mobile-drawer { display: none !important; } }

/* ============ Fancy CTA button (light streaks + radial glow) ============ */
.mahir-cta-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; text-decoration: none;
  background: #000; color: #fff !important;
  font-family: var(--mahir-mono);
  font-weight: 300; font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase;
  padding: .25rem 1.5rem;
  height: 2.5rem;
  border-radius: 0;
  transition: transform .25s ease;
}
.mahir-cta-btn:hover { transform: translateY(-1px); }
.mahir-cta-btn::before,
.mahir-cta-btn::after,
.mahir-cta-btn > .mahir-cta-h,
.mahir-cta-btn > .mahir-cta-h2 {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
}
.mahir-cta-btn::before { /* left vertical streak */
  left: -1px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.85) 50%, rgba(255,255,255,0));
}
.mahir-cta-btn::after { /* right vertical streak */
  right: -1px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.85) 50%, rgba(255,255,255,0));
}
.mahir-cta-btn > .mahir-cta-h { /* top horizontal streak */
  top: -1px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.85) 50%, rgba(255,255,255,0));
}
.mahir-cta-btn.mahir-cta-sm { padding: .6rem 1.3rem; font-size: .62rem; letter-spacing: .16em; border-radius: 999px; border: 1px solid rgba(255,255,255,0.22); background:#000; overflow: hidden; }
.mahir-cta-btn.mahir-cta-sm:hover { background:#111; border-color: rgba(255,255,255,0.4); }
.mahir-cta-btn.mahir-cta-sm::before, .mahir-cta-btn.mahir-cta-sm::after, .mahir-cta-btn.mahir-cta-sm > .mahir-cta-h, .mahir-cta-btn.mahir-cta-sm > .mahir-cta-h2, .mahir-cta-btn.mahir-cta-sm > .mahir-cta-glow { display: none; }
.mahir-nav-contact-desktop { display: none; }
@media (min-width: 1024px) { .mahir-nav-contact-desktop { display: inline-flex; } }
.mahir-nav-contact { animation: mahirContactPulse 3.4s ease-in-out infinite; }
.mahir-nav-contact .mahir-cta-label::after {
  content: ""; position: absolute; inset: -0.4rem -1.2rem;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.55) 48%, transparent 100%);
  transform: translateX(-160%) skewX(-16deg); opacity: .75;
  animation: mahirContactSweep 2.8s ease-in-out infinite;
}
@keyframes mahirContactPulse { 0%, 100% { box-shadow: 0 0 0 rgba(255,255,255,0); } 50% { box-shadow: 0 0 24px rgba(125,211,252,.22); } }
@keyframes mahirContactSweep { 0%, 44% { transform: translateX(-160%) skewX(-16deg); } 72%, 100% { transform: translateX(160%) skewX(-16deg); } }
@media (prefers-reduced-motion: reduce) { .mahir-nav-contact, .mahir-nav-contact .mahir-cta-label::after { animation: none; } }
.mahir-cta-btn > .mahir-cta-h2 { /* bottom horizontal streak */
  bottom: -1px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.85) 50%, rgba(255,255,255,0));
}
.mahir-cta-btn > .mahir-cta-glow {
  position: absolute; inset: -24px; z-index: -1;
  background: radial-gradient(circle, rgba(255,255,255,0.35), transparent 60%);
  filter: blur(20px);
  opacity: 0; transition: opacity .3s ease;
}
.mahir-cta-btn:hover > .mahir-cta-glow { opacity: 1; }
.mahir-cta-btn > .mahir-cta-label { position: relative; z-index: 2; }

/* ============ Pre-footer CTA hero card (white theme) ============ */
.mahir-prefooter-band { background: #fff; padding: 0; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.mahir-prefooter {
  position: relative; z-index: 10;
  width: 100%; margin: 0; padding: 2rem 0 4rem;
  border-radius: 0;
  background: #fff;
  border: 0;
  overflow: hidden;
  min-height: 14rem;
}
@media (min-width: 640px) { .mahir-prefooter { padding: 2.5rem 0 4rem; } }
@media (max-width: 767px) { .mahir-prefooter { padding: 2rem 1.25rem 4rem; } }
@media (min-width: 1024px) { .mahir-prefooter { padding: 3rem 0 4rem; min-height: 16rem; } }
.mahir-prefooter-grid {
  position: relative;
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
  padding-top: 0;
  max-width: 80rem; margin: 0 auto;
  padding-left: 1.25rem; padding-right: 1.25rem;
}
@media (max-width: 767px) { .mahir-prefooter-grid { padding-left: 0; padding-right: 0; } }
@media (min-width: 1024px) { .mahir-prefooter-grid { grid-template-columns: 1fr; gap: 1rem; } }
.mahir-prefooter h2 {
  font-family: var(--mahir-display);
  font-weight: 300;
  color: #111 !important;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: 2.75rem;
  margin: 0;
}
@media (min-width: 640px) { .mahir-prefooter h2 { font-size: 3.6rem; } }
@media (min-width: 768px) { .mahir-prefooter h2 { font-size: 4.2rem; } }
.mahir-prefooter p { color: rgba(0,0,0,0.62) !important; font-size: .95rem; max-width: 42ch; margin: 0; }
.mahir-prefooter-mark {
  position: absolute; left: 1.25rem; bottom: 1rem;
  pointer-events: none; user-select: none;
  height: min(16vw, 208px);
  opacity: 0.5;
}
@media (max-width: 767px) { .mahir-prefooter-mark { display: none !important; } }

/* ============ Testimonials tilted cards ============ */
.mahir-testi-wrap { position: relative; display:flex; justify-content:center; align-items:center; min-height: 450px; padding: 3rem 1rem; }
.mahir-testi-row { position:relative; display:flex; justify-content:center; align-items:center; flex-wrap: wrap; gap: 1rem; }
.mahir-testi-card {
  position: relative; width: 320px; height: 320px; margin: 0 -30px;
  background: linear-gradient(rgba(255,255,255,0.1), transparent);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 1rem;
  box-shadow: 0 25px 25px rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display:flex; align-items:center; justify-content:center;
}
.mahir-testi-card.t1 { transform: rotate(-10deg); }
.mahir-testi-card.t2 { transform: rotate(-3deg); z-index: 2; }
.mahir-testi-card.t3 { transform: rotate(8deg); }
.mahir-testi-inner {
  position:absolute; inset: 1rem;
  background:#fff; color:#000000;
  border-radius: .75rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.4);
  padding: 1.25rem; overflow: hidden;
  display:flex; flex-direction:column; justify-content:space-between;
}
.mahir-testi-inner p { font-size: .82rem; line-height: 1.55; margin: 0; color:#000000; }
.mahir-testi-meta { display:flex; align-items:center; justify-content:space-between; border-top: 1px solid rgba(0,0,0,.08); padding-top: .75rem; }
.mahir-testi-name { font-size: .78rem; font-weight: 300; color:#000000; }
.mahir-testi-role { font-size: .7rem; color:#6b7280; }
@media (max-width: 700px) {
  .mahir-testi-row { flex-direction: column; }
  .mahir-testi-card { margin: -20px 0; }
}

/* ============ Footer ============ */
.mahir-footer {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #ffffff;
  z-index: 201;
}

.footer-line {
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.footer-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 32px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.6fr;
  column-gap: 70px;
  padding-bottom: 48px;
}

.footer-column {
}

.footer-brand {
  max-width: 430px;
}

.mahir-footer-logo {
  display: inline-flex;
  align-items: center;
  height: 4rem;
}

.mahir-footer-logo img {
  height: 100%;
  width: auto;
  filter: invert(1) !important;
  opacity: 1 !important;
  visibility: visible !important;
  mix-blend-mode: normal !important;
}

.mahir-footer-logo .mahir-footer-logo-text {
  display: none;
  font-family: var(--mahir-display);
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000000;
}

.mahir-footer-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.mahir-footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0;
  background: transparent;
  border: none;
  color: rgba(0, 0, 0, 0.8) !important;
  transition: color 0.2s ease;
}

.mahir-footer-socials a:hover {
  color: #000 !important;
}

.mahir-logo {
  width: 190px;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

.brand-description {
  max-width: 400px;
  font-size: 16px;
  line-height: 1.65;
  color: #555555;
  font-weight: 400;
}

.footer-column-title {
  margin-bottom: 18px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #8b8b8b;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #111111;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  transition: opacity 0.25s ease;
}

.footer-links a:hover {
  opacity: 0.5;
}

.office-address {
  max-width: 300px;
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: #555555;
  font-weight: 400;
}

.trusted-block {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

.trusted-title {
  margin-bottom: 10px;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999999;
  font-weight: 600;
}

.startup-logo {
  width: 125px;
  height: auto;
  display: block;
  object-fit: contain;
}

.footer-statement {
  width: 100%;
  border-top: 1px solid #dedede;
  padding: 40px 0 48px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.statement {
  margin: 0 auto;
  text-align: center;
  max-width: 1400px;
  color: #080808;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  font-weight: 600;
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid #dedede;
  padding: 16px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.copyright,
.managed-by {
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.3px;
  color: #888888;
}

.managed-by span {
  color: #111111;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .footer-inner {
    padding-left: 40px;
    padding-right: 40px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    row-gap: 60px;
  }

  .footer-column {
}

.footer-brand {
    grid-column: 1 / -1;
  }

  .office-column {
    grid-column: 3;
  }
}

@media (max-width: 700px) {
  .mahir-footer {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }

  .footer-inner {
    padding: 32px 24px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 32px;
    padding-bottom: 32px;
  }

.footer-brand {
    grid-column: 1 / -1;
  }

  .mahir-logo {
    width: 150px;
    margin-bottom: 16px;
  }

  .brand-description {
    max-width: 340px;
    font-size: 14px;
    line-height: 1.65;
  }

  .footer-column-title {
    font-size: 9px;
    margin-bottom: 14px;
  }

  .footer-links li {
    margin-bottom: 9px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .office-column {
    grid-column: 1 / -1;
  }

  .office-address {
    max-width: 380px;
    font-size: 12px;
    line-height: 1.7;
  }

  .trusted-block {
    margin-top: 20px;
    padding-top: 18px;
  }

  .startup-logo {
    width: 105px;
  }

  .footer-statement {
    padding: 26px 0 28px;
  }

  .statement {
    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -0.6px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 16px 0 20px;
  }

  .copyright,
  .managed-by {
    font-size: 9px;
  }
}

@media (max-width: 420px) {
  .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    row-gap: 24px;
    padding-bottom: 24px;
  }

  .footer-brand,
  .office-column {
    grid-column: 1 / -1;
  }

  .footer-column-title {
    margin-bottom: 12px;
  }

  .footer-links li {
    margin-bottom: 8px;
  }

  .footer-statement {
    padding: 22px 0 24px;
  }

  .statement {
    font-size: 21px;
    line-height: 1.15;
    letter-spacing: -0.5px;
  }

  .footer-bottom {
    padding: 14px 0 18px;
  }
}
