﻿/* Revion marka — navbar & footer */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-icon {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  /* Eski PNG'deki koyu kutu etkisini kaldır; SVG şeffaf zemin kullanır */
  background: transparent;
}
@media (min-width: 768px) {
  .brand-icon {
    width: 3rem;
    height: 3rem;
  }
}
.brand-name {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #e8ecff 0%, #b6c4ff 35%, #44e2d2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@media (min-width: 768px) {
  .brand-name {
    font-size: 1.625rem;
  }
}
.brand--footer .brand-icon {
  width: 2.25rem;
  height: 2.25rem;
}
.brand--footer .brand-name {
  font-size: 1.25rem;
}

/* ---- Kampanya: üst duyuru çubuğu ---- */
.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--announce-h, 2.25rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1rem;
  background: linear-gradient(90deg, #3255c6 0%, #00a89a 50%, #3255c6 100%);
  background-size: 200% 100%;
  animation: announce-shimmer 8s ease-in-out infinite;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}
.announce-bar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #39e193;
  box-shadow: 0 0 8px #39e193;
  flex-shrink: 0;
}
@keyframes announce-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

body.has-announce {
  --announce-h: 2.25rem;
}
body.has-announce header.fixed,
body.has-announce nav.fixed {
  top: var(--announce-h) !important;
}
body.has-announce .flex.pt-20 {
  padding-top: calc(5rem + var(--announce-h)) !important;
}
body.has-announce aside.fixed.top-0 {
  padding-top: calc(6rem + var(--announce-h)) !important;
}
body.has-announce main.pt-32,
body.has-announce main.pt-24 {
  padding-top: calc(6rem + var(--announce-h)) !important;
}
@media (min-width: 768px) {
  body.has-announce main.pt-32 {
    padding-top: calc(8rem + var(--announce-h)) !important;
  }
}

/* ---- Kampanya: premium alanları kitli göster ---- */
.promo-locked-wrap {
  position: relative;
}
.promo-locked-wrap--card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.promo-locked-overlay {
  display: none;
}
body.promo-active .promo-locked-wrap .promo-locked-content {
  opacity: 0.45;
  filter: saturate(0.4) brightness(0.82);
  pointer-events: none;
  user-select: none;
}
body.promo-active .promo-locked-wrap .promo-locked-overlay {
  display: flex;
  position: absolute;
  inset: 0;
  z-index: 10;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem;
  text-align: center;
  background: rgba(7, 10, 18, 0.52);
  backdrop-filter: blur(2px);
  border-radius: inherit;
  pointer-events: none;
}
body.promo-active .promo-locked-overlay--card {
  border: 1px solid rgba(182, 196, 255, 0.1);
}
body.promo-active .promo-locked-overlay--card .promo-locked-overlay__icon {
  font-size: 1.35rem !important;
}
body.promo-active .promo-locked-overlay--card .promo-locked-overlay__text {
  font-size: 0.5625rem;
  letter-spacing: 0.07em;
  max-width: 9.5rem;
  line-height: 1.35;
}
.promo-locked-overlay__icon {
  font-size: 1.5rem !important;
  color: #b6c4ff;
  opacity: 0.9;
}
.promo-locked-overlay__text {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e0e2ee;
  line-height: 1.3;
  max-width: 12rem;
}

/* ---- Mobil düzen ---- */
@media (max-width: 767px) {
  .announce-bar {
    font-size: 0.5625rem;
    letter-spacing: 0.035em;
    padding: 0 0.625rem;
  }
  .brand-name {
    font-size: 1.25rem;
  }
  .brand-icon {
    width: 2.25rem;
    height: 2.25rem;
  }
  body.has-announce #mobileMenu {
    max-height: calc(100vh - 5rem - var(--announce-h, 2.25rem));
    overflow-y: auto;
  }
  body.has-announce nav.fixed #mobileMenu {
    top: 100%;
  }
  .pricing-plans {
    width: 100%;
  }
  .pricing-plans .promo-locked-wrap--card {
    width: 100%;
    min-width: 0;
  }
  body.promo-active .promo-locked-overlay--card .promo-locked-overlay__text {
    font-size: 0.6875rem;
    max-width: 11rem;
  }
  body.promo-active .promo-locked-overlay--card .promo-locked-overlay__icon {
    font-size: 1.5rem !important;
  }
}
