/* ===========================================================
   SITE FOOTER — Premium dark, comprehensive (2026.9-footer)
   =========================================================== */
.site-footer {
  position: relative;
  background: #0a0f1e;
  color: #cbd5e1;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 88px 0 28px;
  overflow: hidden;
  isolation: isolate;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  z-index: 1;
}
.site-footer::after {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(56,189,248,0.12), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.site-footer__inner {
  position: relative;
  z-index: 2;
}

/* ---------- TOP : Brand + Newsletter ---------- */
.footer-top {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Brand block */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 18px;
}
.footer-logo__img {
  max-height: 38px;
  width: auto;
  display: block;
  /* Renkli/koyu logoyu beyaza çevir */
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity .2s ease;
}
.footer-logo:hover .footer-logo__img { opacity: 1; }
.footer-logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 8px 24px -8px rgba(56,189,248,0.6);
}
.footer-logo__text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.footer-logo__text em {
  font-style: normal;
  color: #38bdf8;
}

.footer-brand__desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 480px;
  margin: 0 0 26px;
}

/* Contact mini-cards */
.footer-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 26px;
  max-width: 520px;
}
.footer-contact-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  text-decoration: none;
  transition: all .2s ease;
}
.footer-contact-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(56,189,248,0.4);
  transform: translateY(-1px);
}
.fcc-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(56,189,248,0.12);
  color: #38bdf8;
  display: grid;
  place-items: center;
  font-size: 13px;
  flex-shrink: 0;
}
.fcc-body { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.fcc-label { font-size: 10.5px; color: #64748b; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.fcc-value { font-size: 13px; color: #f1f5f9; font-weight: 600; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Social */
.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #cbd5e1;
  font-size: 14px;
  text-decoration: none;
  transition: all .2s ease;
}
.footer-social a:hover {
  background: #fff;
  color: #0a0f1e;
  border-color: #fff;
  transform: translateY(-2px);
}

/* Newsletter */
.footer-newsletter {
  padding: 28px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  position: relative;
}
.footer-newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(circle at top right, rgba(56,189,248,0.08), transparent 50%);
  pointer-events: none;
}
.footer-newsletter > * { position: relative; }
.footer-newsletter__title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.footer-newsletter__desc {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 18px;
}
.footer-newsletter__form {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-newsletter__form input {
  flex: 1;
  height: 44px;
  padding: 0 16px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 11px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all .2s;
}
.footer-newsletter__form input::placeholder { color: #475569; }
.footer-newsletter__form input:focus {
  border-color: #38bdf8;
  background: rgba(0,0,0,0.4);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.15);
}
.footer-newsletter__form button {
  height: 44px;
  padding: 0 18px;
  background: #fff;
  color: #0a0f1e;
  border: none;
  border-radius: 11px;
  font-weight: 600;
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
  white-space: nowrap;
}
.footer-newsletter__form button:hover {
  background: #38bdf8;
  color: #fff;
  transform: translateY(-1px);
}
.footer-newsletter__note {
  font-size: 11.5px;
  color: #64748b;
  margin: 0 0 18px;
}
.footer-newsletter__note a { color: #94a3b8; text-decoration: underline; text-underline-offset: 2px; }
.footer-newsletter__note a:hover { color: #38bdf8; }

/* Newsletter inline status message */
.footer-newsletter__msg {
  font-size: 12.5px;
  margin: 0 0 12px;
  min-height: 18px;
  line-height: 1.4;
  transition: color .2s;
}
.footer-newsletter__msg:empty { display: none; }
.footer-newsletter__msg.is-success { color: #4ade80; }
.footer-newsletter__msg.is-error { color: #f87171; }
.footer-newsletter__msg.is-loading { color: #94a3b8; }
.footer-newsletter__form button:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none !important;
}

.footer-newsletter__ctas {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fnl-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
}
.fnl-cta i { font-size: 11px; opacity: .8; }
.fnl-cta:hover {
  background: rgba(56,189,248,0.12);
  border-color: rgba(56,189,248,0.4);
  color: #fff;
}

/* ---------- LINK GRID ---------- */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  padding: 56px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-nav__title {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 18px;
}
.footer-nav__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav__col ul a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.4;
  transition: color .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-nav__col ul a:hover { color: #fff; }
.footer-nav__col ul a.has-tag { gap: 8px; }
.fn-tag {
  display: inline-block;
  padding: 2px 7px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 999px;
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.3);
  text-transform: uppercase;
  line-height: 1.4;
}
.fn-tag--blue { background: rgba(56,189,248,0.15); color: #38bdf8; border-color: rgba(56,189,248,0.3); }
.fn-tag--amber { background: rgba(251,191,36,0.15); color: #fbbf24; border-color: rgba(251,191,36,0.3); }
.fn-ext { font-size: 9px; opacity: .6; }

/* ---------- TRUST BAR ---------- */
.footer-trust {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ft-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  color: #38bdf8;
  font-size: 14px;
  flex-shrink: 0;
}
.footer-trust__item > div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}
.footer-trust__item strong {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: -0.005em;
}
.footer-trust__item span {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}

/* ---------- BOTTOM BAR ---------- */
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  flex-wrap: wrap;
}
.fbb-copy {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
  flex: 1;
  min-width: 280px;
  line-height: 1.7;
}
.fbb-copy a {
  color: #94a3b8;
  text-decoration: none;
  transition: color .15s;
}
.fbb-copy a:hover { color: #fff; }
.fbb-sep { color: #334155; margin: 0 4px; }

.fbb-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fbb-lang, .fbb-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  font-size: 12px;
  color: #cbd5e1;
  cursor: pointer;
  transition: all .2s;
}
.fbb-lang:hover { background: rgba(255,255,255,0.07); }
.fbb-lang i:first-child { color: #38bdf8; font-size: 12px; }
.fbb-status { cursor: default; }
.fbb-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
  animation: fbbPulse 2s ease-out infinite;
}
@keyframes fbbPulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
  .footer-trust { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .site-footer { padding: 64px 0 24px; }
  .footer-top { gap: 32px; padding-bottom: 40px; }
  .footer-contact-grid { grid-template-columns: 1fr; max-width: 100%; }
  .footer-newsletter { padding: 22px; }
  .footer-newsletter__form { flex-direction: column; }
  .footer-newsletter__form button { width: 100%; justify-content: center; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; padding: 40px 0; }
  .footer-trust { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 28px 0; }
  .footer-bottom-bar { flex-direction: column; align-items: flex-start; gap: 16px; }
  .fbb-meta { width: 100%; justify-content: space-between; }
}
@media (max-width: 480px) {
  .footer-nav { grid-template-columns: 1fr; }
  .footer-trust { grid-template-columns: 1fr; }
}
