:root {
  --bg: #fff;
  --text: #0a251e;
  --muted: #6b7280;
  --chip: #f3f4f6;
  --accent: #d2e823;
  --max: 1440px;
  --r: 30px;
}

nav.v2-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
    "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.v2-header-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
}

.v2-header-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
  margin-right: 14px;
}

.v2-header-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.v2-header-logo-icon .header-logo {
  height: 45px;
  width: auto;
  display: block;
}

.v2-header-logo-text {
  display: none;
}

.v2-header-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-width: 0;
}

.v2-header-section {
  display: flex;
  align-items: center;
  gap: 18px;
}

.v2-header-section.left {
  justify-content: flex-start;
  gap: 24px;
}

.v2-header-section.right {
  margin-left: auto;
  justify-content: flex-end;
  padding-right: 10px;
}

.v2-header-nav-link {
  text-decoration: none;
  color: #6b7280;
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 2px;
}

.v2-header-nav-link:hover {
  color: var(--text);
}

/* "Live demo" (musteri 17 Kasim): onunde lime nokta, digerlerinden koyu. */
.v2-header-nav-link.is-live-demo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
}

.v2-header-nav-link.is-live-demo::before {
  content: "";
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #a8bf12;
  box-shadow: 0 0 0 3px rgba(210, 232, 35, 0.35);
}

.v2-header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 0;
}

#langSel {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0;
  background: var(--chip);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236b7280' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 6px;
  border-radius: var(--r);
  padding: 9px 30px 9px 14px;
  color: var(--muted);
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  margin-right: 12px;
}

.v2-header-cta {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: var(--r);
  padding: 10px 16px;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  border: 0;
}

.v2-header-cta:hover {
  background: var(--text);
  color: var(--accent);
}

.v2-header-cta.signin {
  background: transparent;
  color: var(--muted);
  padding: 8px 2px;
  border-radius: 0;
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.v2-header-cta.signin:hover {
  background: transparent;
  color: var(--text);
}

.v2-header-mobile-actions {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 10px;
}

.v2-header-mobile-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  width: auto;
  height: auto;
}

.v2-header-mobile-toggle .header-icon {
  width: 26px;
  height: 26px;
}

/* ===== FULL-SCREEN MOBILE MENU ===== */
body.v2-mobile-menu-open {
  overflow: hidden;
}

.v2-header-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100dvh;
  z-index: 9999;
  background-color: #f7f9f0;
  background-image: url('header-mob-nav-background.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: none;
  flex-direction: column;
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.v2-header-mobile-menu.open {
  display: flex;
  animation: mobileMenuFadeIn 0.3s ease forwards;
}

@keyframes mobileMenuFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Top bar */
.v2-mobile-menu-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  flex-shrink: 0;
}

.v2-mobile-menu-topbar .v2-header-logo-icon .header-logo {
  height: 36px;
  width: auto;
  display: block;
}

.v2-mobile-menu-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v2-mobile-menu-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.v2-mobile-menu-close .header-icon {
  width: 22px;
  height: 22px;
  display: block;
}

/* Nav body */
.v2-mobile-menu-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
}

#mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

.v2-header-mobile-menu .v2-header-nav-link {
  display: block;
  width: auto;
  text-align: center;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  padding: 16px 0;
  border-bottom: none;
}

.v2-header-mobile-menu .v2-header-nav-link.is-live-demo {
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* Ucuncu sol link (Live demo) dar masaustunde UK etiketleriyle sag linkleri dil seciminin altina itiyordu:
   901-1180 px'te bosluk ve yazi kuculur, 901-1040 px'te demo linki yalnizca masaustu header'dan kalkar
   (hero ve Services & Prices bandinda var; 900 px alti mobil menude duruyor). */
@media (min-width: 901px) and (max-width: 1180px) {
  .v2-header-section,
  .v2-header-section.left {
    gap: 14px;
  }

  .v2-header-section.right {
    padding-left: 14px;
  }

  .v2-header-nav-link {
    font-size: 13px;
  }
}

@media (min-width: 901px) and (max-width: 1040px) {
  .v2-header-section .v2-header-nav-link.is-live-demo {
    display: none;
  }
}

/* Bottom section */
.v2-mobile-menu-bottom {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 16px 24px 28px;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.v2-mobile-menu-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  align-self: stretch !important;
  gap: 12px;
  background: var(--accent);
  color: var(--text);
  text-decoration: none;
  border-radius: 999px;
  padding: 16px 8px 16px 36px;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 17px;
  white-space: nowrap;
  border: 0;
  width: 100% !important;
  box-sizing: border-box;
  box-shadow: 0 4px 16px rgba(210, 232, 35, 0.3);
}

.v2-mobile-cta-text {
  flex: 1 1 auto !important;
}

.v2-mobile-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  color: var(--text);
  flex-shrink: 0 !important;
  margin-left: auto !important;
padding: 25px;
}

/* Social icons */
.v2-mobile-menu-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.v2-mobile-menu-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--text);
  color: var(--text);
  text-decoration: none;
}

.v2-mobile-menu-socials a svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Guest mode */
.v2-header-mobile-menu.guest-mobile-minimal #mobile-links {
  padding-bottom: 0;
}

.v2-header-mobile-menu.guest-mobile-minimal .v2-header-mobile-lang {
  margin-top: 0;
  padding-top: 0;
}

.v2-header-mobile-lang {
  display: block;
  margin-top: 0;
  padding-top: 0;
}

.v2-header-mobile-lang-label {
  color: #6b7280;
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.v2-header-mobile-lang-select {
  border: 0;
  background: var(--chip);
  border-radius: 999px;
  padding: 8px 12px;
  color: #374151;
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}

.v2-lang-native-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.v2-lang-dd {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.v2-lang-dd-trigger {
  border: 0;
  background: var(--chip);
  border-radius: var(--r);
  padding: 9px 14px;
  color: var(--muted);
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1;
}

.v2-lang-dd-trigger i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0.75;
  transform-origin: center;
}

.v2-lang-dd.open .v2-lang-dd-trigger i {
  transform: rotate(180deg);
}

.v2-lang-dd-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 100%;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  z-index: 1001;
}

.v2-lang-dd.open .v2-lang-dd-menu {
  display: block;
}

.v2-lang-dd-option {
  width: 100%;
  border: 0;
  background: #fff;
  padding: 9px 14px;
  color: #2d2f34;
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  border-radius: var(--r);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.v2-lang-dd-option:hover {
  background: #f8fafc;
}

.v2-lang-swap {
  display: inline-flex;
}

.v2-lang-swap-btn {
  border: 0;
  background: transparent;
  padding: 8px 0;
  color: #374151;
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.v2-header-mobile-menu .v2-header-cta {
  align-self: center;
}

@media (max-width: 900px) {
  .v2-header-container {
    padding: 8px 20px;
    gap: 14px;
  }

  .v2-header-logo-icon .header-logo {
    height: 36px;
  }

  .v2-header-nav {
    display: none;
  }

  .v2-header-actions {
    display: none;
  }

  .v2-header-mobile-actions {
    display: flex;
    gap: 8px;
  }

  .v2-header-mobile-toggle {
    padding: 7px;
  }

  .v2-header-mobile-toggle .header-icon {
    width: 22px;
    height: 22px;
  }

  .v2-header-mobile-menu .v2-header-cta.signin {
    margin-top: 0;
    color: #6b7280;
    font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 0;
  }

  .v2-header-mobile-menu .v2-header-cta:not(.signin) {
    margin-top: 6px;
    padding: 10px 20px;
    min-width: 122px;
    text-align: center;
  }

  .v2-header-mobile-lang {
    margin-top: 0;
    padding-top: 0;
  }

  .v2-header-mobile-lang .v2-lang-swap-btn {
    padding: 10px 0 2px;
  }

  /* Misafir sayfasi (Solomiia 19 Ekim, madde 2-3): header, sayfanin 560 px icerik sutunuyla
     ayni genislikte ve ayni 14 px kenarla durur. Logo etkinlik gorselinin sol kenarina,
     balon icindeki menu ikonu sag kenarina hizalanir. guest-route sinifini hfSetup.js
     setMobileGuestMenuMode ekler.
     Balon Figma'daki gibi 56x40 hap, #F1F5F6 (Solomiia 19 Ekim aksami, madde 3; once 36 px
     daireydi). Header yuksekligi degismesin, etkinlik gorseli yerinde kalsin diye ust/alt
     bosluk 8 -> 6 px. */
  nav.v2-header.guest-route .v2-header-container {
    max-width: 560px;
    padding: 6px 14px;
  }

  nav.v2-header.guest-route .v2-header-mobile-toggle {
    width: 56px;
    height: 40px;
    padding: 0;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f6;
  }

  nav.v2-header.guest-route .v2-header-mobile-toggle .header-icon {
    width: 20px;
    height: 20px;
  }
}

@media (min-width: 901px) {
  .v2-header-mobile-menu {
    display: none !important;
  }

  .header-mobile-mode {
    display: none;
  }
}

@media (max-width: 420px) {
  .v2-header-cta-mobile {
    padding: 10px 14px;
    font-size: 12px;
  }

  /* "Get started free" / "Почати безкоштовно" (18 Kasim): UK etiketi 390 px'te menu dugmesini ekran disina
     itiyordu. Kenar ve araliklar daralir; misafir sayfasinin kendi kurali (guest-route) daha ozgul, etkilenmez. */
  .v2-header-container {
    padding-left: 14px;
    padding-right: 14px;
    gap: 8px;
  }

  .v2-header-mobile-actions {
    gap: 4px;
  }

  .v2-header-cta.v2-header-cta-mobile {
    padding: 9px 12px;
  }
}

@media (max-width: 380px) {
  .v2-header-logo-icon .header-logo {
    height: 30px;
  }

  .v2-header-cta.v2-header-cta-mobile {
    padding: 8px 10px;
    font-size: 11px;
  }
}

/* 352 px ve altinda (eski kucuk telefonlar) UK etiketi sigmiyor; dugme menude de var. hfSetup.js data-pub icin
   satir ici display yaziyor, bu yuzden !important. */
@media (max-width: 352px) {
  .v2-header-mobile-actions .v2-header-cta-mobile {
    display: none !important;
  }
}
