/* ===== Site Nav (sn-*) — new header menu ===== */
.sn-root {
  /* wrapper only — header stays position:fixed */
}

.header.sn-header {
  overflow: visible;
  z-index: 5000;
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

.header.sn-header.scrolled {
  background: rgba(5, 7, 13, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

.header.sn-header.is-mega-open,
.header.sn-header:has(.sn-item--mega:hover),
.header.sn-header:has(.sn-item--mega.is-open),
.header.sn-header:has(.sn-item--mega:focus-within),
.header.sn-header:has(.sn-item--shop:hover),
.header.sn-header:has(.sn-item--shop.is-open),
.header.sn-header:has(.sn-item--shop:focus-within) {
  /* backdrop-filter + overflowing dropdown = stacking bug over hero */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(5, 7, 13, 0.98);
}

.sn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.25rem;
  position: relative;
}

.sn-logo {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.sn-tools {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  position: relative;
  z-index: 2;
}

.sn-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #e2e8f0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sn-cart:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.sn-cart__count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.sn-cart__count:empty,
.sn-cart__count[data-empty="1"] {
  display: none;
}

.sn-actions {
  display: none;
}

.sn-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sn-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.sn-toggle__bar {
  display: block;
  width: 18px;
  height: 1.75px;
  border-radius: 2px;
  background: #e2e8f0;
  transition: transform 0.28s ease, opacity 0.2s ease;
}

.sn-toggle.is-open .sn-toggle__bar:nth-child(1) {
  transform: translateY(6.75px) rotate(45deg);
}

.sn-toggle.is-open .sn-toggle__bar:nth-child(2) {
  opacity: 0;
}

.sn-toggle.is-open .sn-toggle__bar:nth-child(3) {
  transform: translateY(-6.75px) rotate(-45deg);
}

.sn-panel {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 0.65rem;
}

.sn-nav {
  display: flex;
  align-items: center;
}

/* —— Hazır Web Sitesi (sağda, diğer menülerden ayrı) —— */
.sn-shop {
  display: flex;
  align-items: center;
  margin-left: 0.15rem;
  padding-left: 0.9rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.sn-list--shop {
  gap: 0;
}

.sn-shop__wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.sn-shop__tag {
  position: absolute;
  top: -9px;
  right: 10px;
  z-index: 2;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #0b1220;
  background: linear-gradient(135deg, #93c5fd 0%, #67e8f9 55%, #a5b4fc 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
  pointer-events: none;
  white-space: nowrap;
}

.sn-link--shop {
  gap: 0.45rem;
  min-height: 36px;
  padding: 0 0.85rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #f8fafc;
}

.sn-link--shop::after {
  display: none;
}

.sn-link--shop .sn-shop__ico {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.95;
  color: #bfdbfe;
}

.sn-shop__label {
  background-image: linear-gradient(
    100deg,
    #93c5fd 0%,
    #7dd3fc 18%,
    #a5b4fc 36%,
    #67e8f9 54%,
    #818cf8 72%,
    #93c5fd 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: snShopLabelFlow 7s ease-in-out infinite;
}

@keyframes snShopLabelFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .sn-shop__label {
    animation: none;
    background-position: 40% 50%;
  }
}

.sn-link--shop:hover,
.sn-item--shop.is-open > .sn-shop__wrap > .sn-link--shop,
.sn-link--shop[aria-expanded="true"],
.sn-item--shop:hover > .sn-shop__wrap > .sn-link--shop {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #ffffff;
}

.sn-link--shop .sn-chevron {
  opacity: 0.85;
  color: #bfdbfe;
}

.sn-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sn-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.sn-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 100%;
  min-height: 42px;
  padding: 0 0.85rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(226, 232, 240, 0.78);
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  transition: color 0.22s ease;
}

/* Kurumsal alt çizgi */
.sn-link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.95;
}

.sn-link:hover,
.sn-item.is-active > .sn-link,
.sn-link[aria-current="page"],
.sn-link--trigger[aria-expanded="true"],
.sn-item--mega.is-open > .sn-link--trigger,
.sn-item--mega:hover > .sn-link--trigger {
  color: #ffffff;
  background: transparent;
}

.sn-link:hover::after,
.sn-item.is-active > .sn-link::after,
.sn-link[aria-current="page"]::after,
.sn-link--trigger[aria-expanded="true"]::after,
.sn-item--mega.is-open > .sn-link--trigger::after,
.sn-item--mega:hover > .sn-link--trigger::after {
  transform: scaleX(1);
}

.sn-chevron {
  width: 13px;
  height: 13px;
  opacity: 0.65;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.sn-link:hover .sn-chevron,
.sn-link--trigger[aria-expanded="true"] .sn-chevron,
.sn-item--mega.is-open .sn-chevron,
.sn-item--mega:hover .sn-chevron {
  opacity: 1;
  transform: rotate(180deg);
}

/* ===== Mega panel (desktop) ===== */
@media (min-width: 961px) {
  .sn-panel,
  .sn-nav,
  .sn-shop,
  .sn-list--shop {
    height: 100%;
  }

  .sn-list {
    align-items: stretch;
    height: 100%;
    gap: 0.15rem;
  }

  .sn-list--shop {
    align-items: center;
  }

  .sn-item {
    display: flex;
    align-items: stretch;
  }

  .sn-item--shop {
    align-items: center;
  }

  .sn-link {
    padding: 0 1rem;
  }

  .sn-link::after {
    left: 1rem;
    right: 1rem;
  }

  .sn-link--shop {
    padding: 0 0.95rem 0 0.75rem;
  }

  .sn-item--mega {
    position: static;
  }

  .sn-mega {
    position: absolute;
    top: calc(100% - 28px);
    right: 0;
    left: auto;
    width: min(640px, calc(100vw - 40px));
    max-width: calc(100vw - 40px);
    z-index: 5001;
    padding-top: 28px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition:
      opacity 0.1s ease,
      visibility 0.1s ease,
      transform 0.1s ease;
  }

  .sn-mega[hidden] {
    display: block;
  }

  .sn-item--mega.is-open > .sn-mega,
  .sn-item--mega:hover > .sn-mega,
  .sn-item--mega:focus-within > .sn-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .sn-mega__panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    overflow: hidden;
    border-radius: 14px;
    background: #0a0f18;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
      0 28px 64px rgba(0, 0, 0, 0.55),
      0 1px 0 rgba(255, 255, 255, 0.04) inset;
  }

  .sn-mega__intro {
    display: flex;
    flex-direction: column;
    padding: 1.35rem 1.25rem 1.3rem;
    background:
      linear-gradient(165deg, rgba(37, 99, 235, 0.14) 0%, transparent 55%),
      rgba(8, 12, 22, 0.9);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }

  .sn-mega__links {
    display: flex;
    flex-direction: column;
    padding: 0.45rem;
  }

  /* Hazır Web Sitesi — daha geniş, 2 kolon */
  .sn-item--shop {
    position: static;
  }

  .sn-mega--shop {
    width: min(760px, calc(100vw - 40px));
    right: 0;
    left: auto;
  }

  .sn-mega__panel--shop {
    grid-template-columns: minmax(200px, 0.75fr) minmax(0, 1.45fr);
  }

  .sn-mega__intro--shop {
    background:
      linear-gradient(165deg, rgba(14, 165, 233, 0.16) 0%, transparent 52%),
      linear-gradient(200deg, rgba(37, 99, 235, 0.12), transparent 60%),
      rgba(8, 12, 22, 0.94);
  }

  .sn-mega__links--shop {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.2rem;
    padding: 0.5rem;
  }
}

.sn-mega__kicker {
  margin: 0 0 0.55rem;
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.sn-mega__headline {
  margin: 0 0 0.55rem;
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #f1f5f9;
}

.sn-mega__text {
  margin: 0 0 1.15rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #94a3b8;
}

.sn-mega__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 0.86rem;
  font-weight: 650;
  color: #93c5fd;
  text-decoration: none;
  transition: color 0.15s ease, gap 0.15s ease;
}

.sn-mega__cta svg {
  width: 14px;
  height: 14px;
}

.sn-mega__cta:hover {
  color: #bfdbfe;
  gap: 0.55rem;
}

.sn-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.sn-row:hover {
  background: rgba(255, 255, 255, 0.035);
}

.sn-row__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.18);
  flex-shrink: 0;
}

.sn-row__ico svg {
  width: 17px !important;
  height: 17px !important;
  max-width: 17px !important;
  max-height: 17px !important;
  display: block;
  flex-shrink: 0;
}

.sn-row__ico--seo {
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(125, 211, 252, 0.18);
}

.sn-row__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.sn-row__title {
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #f8fafc;
}

.sn-row__desc {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #94a3b8;
}

.sn-row__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #64748b;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.sn-row__go svg {
  width: 14px;
  height: 14px;
}

.sn-row:hover .sn-row__go {
  opacity: 1;
  transform: translateX(0);
  color: #93c5fd;
}

.sn-mega__badge {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #bae6fd;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.22);
}

.sn-row--shop .sn-row__ico {
  width: 38px;
  height: 38px;
}

.sn-row__ico--corporate {
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(96, 165, 250, 0.2);
}

.sn-row__ico--ecommerce {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(52, 211, 153, 0.22);
}

.sn-row__ico--lawyer {
  color: #c4b5fd;
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(167, 139, 250, 0.22);
}

.sn-row__ico--ngo {
  color: #fda4af;
  background: rgba(244, 63, 94, 0.1);
  border-color: rgba(251, 113, 133, 0.22);
}

.sn-row__ico--beauty {
  color: #f9a8d4;
  background: rgba(236, 72, 153, 0.1);
  border-color: rgba(244, 114, 182, 0.22);
}

.sn-row__ico--shipping {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(251, 191, 36, 0.22);
}

.sn-row__ico--game {
  color: #67e8f9;
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(34, 211, 238, 0.22);
}

.sn-backdrop {
  display: none;
}

/* ===== Mobile drawer ===== */
@media (max-width: 960px) {
  .header.sn-header {
    z-index: 5200;
    overflow: visible;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(6, 8, 15, 0.96);
  }

  .header.sn-header.is-nav-open {
    background: #080b14;
  }

  .sn-toggle {
    display: inline-flex;
  }

  .sn-tools {
    display: inline-flex;
  }

  .sn-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sn-actions__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #f1f5f9;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
  }

  .sn-actions__btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
  }

  .sn-actions__btn--primary {
    background: #1d4ed8;
    border-color: rgba(147, 197, 253, 0.35);
    color: #fff;
  }

  .sn-actions__btn--primary:hover {
    background: #1e40af;
  }

  .sn-actions__btn .top-bar-auth__ico {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
  }

  .sn-panel {
    position: fixed;
    top: var(--total-header, 56px);
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - var(--total-header, 56px) - var(--app-nav-total, 0px) - 8px);
    margin: 0;
    padding: 12px 14px 18px;
    background: #080b14;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.55);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 5300;
    align-items: stretch;
    flex-direction: column;
    transition:
      transform 0.28s cubic-bezier(0.32, 0.72, 0, 1),
      opacity 0.22s ease,
      visibility 0.22s;
  }

  .sn-panel.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .sn-nav,
  .sn-list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    height: auto;
  }

  .sn-shop {
    width: 100%;
    margin: 10px 0 0;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sn-shop__wrap {
    width: 100%;
  }

  .sn-shop__tag {
    top: -6px;
    right: 14px;
  }

  .sn-list--shop {
    width: 100%;
  }

  .sn-link--shop {
    width: 100%;
    height: 52px;
    min-height: 52px;
    justify-content: flex-start;
    border-radius: 14px;
    padding: 0 16px;
    font-size: 0.95rem;
  }

  .sn-link--shop .sn-chevron {
    margin-left: auto;
  }

  .sn-item {
    width: 100%;
    display: block;
  }

  .sn-item--mega {
    position: relative;
  }

  .sn-link {
    width: 100%;
    height: 52px;
    min-height: 52px;
    justify-content: space-between;
    padding: 0 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.95rem;
    letter-spacing: 0;
    color: #f1f5f9;
  }

  .sn-link--shop {
    justify-content: flex-start;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }

  .sn-link--shop .sn-chevron {
    margin-left: auto;
  }

  .sn-link::after {
    display: none;
  }

  .sn-link:hover,
  .sn-item.is-active > .sn-link,
  .sn-link[aria-current="page"],
  .sn-link--trigger[aria-expanded="true"],
  .sn-item--mega.is-open > .sn-link--trigger {
    background: rgba(37, 99, 235, 0.14);
    border-color: rgba(96, 165, 250, 0.22);
    color: #fff;
  }

  .sn-link--shop:hover,
  .sn-item--shop.is-open .sn-link--shop,
  .sn-link--shop[aria-expanded="true"] {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: #fff;
  }

  .sn-mega {
    position: static;
    width: 100%;
    max-width: none;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 8px 0 2px;
    margin: 0;
    display: none;
    z-index: auto;
  }

  .sn-item--mega.is-open > .sn-mega {
    display: block;
  }

  .sn-mega[hidden] {
    display: none !important;
  }

  .sn-mega__panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
  }

  .sn-mega__panel--shop {
    border-color: rgba(96, 165, 250, 0.2);
  }

  .sn-mega__intro {
    padding: 14px 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(165deg, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  }

  .sn-mega__headline {
    font-size: 0.98rem;
  }

  .sn-mega__text {
    margin-bottom: 0.85rem;
    font-size: 0.8rem;
  }

  .sn-mega__links {
    display: flex;
    flex-direction: column;
    padding: 6px;
  }

  .sn-mega__links--shop {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .sn-row {
    gap: 12px;
    padding: 12px;
  }

  .sn-row__go {
    opacity: 0.55;
    transform: none;
  }

  .sn-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    top: var(--total-header, 56px);
    z-index: 5250;
    background: rgba(2, 4, 10, 0.72);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .sn-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.sn-nav-open,
  body.app-nav-open {
    overflow: hidden;
    touch-action: none;
  }
}

@media (max-width: 480px) {
  .sn-panel {
    padding: 10px 12px 16px;
  }
}
