/* Instagram marka paleti + tipografi */
:root {
  --loy-brand: #a855f7;
  --loy-brand-mid: #7c3aed;
  --loy-brand-deep: #3b0764;
  --loy-brand-ink: #1a0d3f;
  --loy-brand-dark: #0f051d;
  --loy-brand-magenta: #e056fd;
  --loy-brand-pink: #f472b6;
  --loy-brand-light: #f5efff;
  --loy-brand-soft: #faf7ff;
  --loy-brand-pale: #ede5ff;
  --loy-brand-glow: rgba(168, 85, 247, 0.38);
  --loy-page-0: #ffffff;
  --loy-page-1: #fefcff;
  --loy-page-2: #faf5ff;
  --loy-page-3: #f3ebff;
  --loy-page-4: #ece2ff;
  --loy-page-5: #e5d8ff;
  --loy-page-6: #ddd0f8;
  --loy-page-end: #ddd0f8;
  --loy-radius-xs: 10px;
  --loy-radius-sm: 14px;
  --loy-radius-md: 22px;
  --loy-radius-lg: 28px;
  --loy-radius-xl: 36px;
  --loy-font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --loy-font-body: "Inter", system-ui, sans-serif;
  --color-blue4: #a855f7;
  --color-blue5: #a855f7;
  --color-blue6: #a855f7;
  --color-green: #a855f7;
  --color-orange1: #a855f7;
  --color-orange3: #a855f7;
  --color-orange4: #a855f7;
}

body {
  font-family: var(--loy-font-body);
  color: #3d3560;
  min-height: 100%;
  background-color: var(--loy-page-end);
  background-image: linear-gradient(
    180deg,
    var(--loy-page-0) 0%,
    var(--loy-page-1) 14%,
    var(--loy-page-2) 30%,
    var(--loy-page-3) 48%,
    var(--loy-page-4) 66%,
    var(--loy-page-5) 82%,
    var(--loy-page-6) 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

main {
  background: transparent;
}

header.style-4 .content .info h1 span,
.section-head.style-4 h2 span,
footer.style-4 .section-head h2 span {
  background-image: linear-gradient(90deg, #7c3aed 0%, #a855f7 48%, #f472b6 100%) !important;
}

/* Anasayfa noktalari: en arkada, icerigin altinda */
.loy-nokta {
  display: none;
}
body.loy-ana .loy-nokta {
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
}
body.loy-ana > header,
body.loy-ana > main,
body.loy-ana > footer {
  position: relative;
  z-index: 1;
}

/* Marka logosu (nav + footer) */
.loy-brand { padding: 0; }
.loy-brand-img {
  display: block;
  width: auto;
  height: 34px;
  max-width: 168px;
  object-fit: contain;
}
.loy-brand-img--foot { height: 40px; max-width: 190px; }
@media (min-width: 992px) {
  .loy-brand-img { height: 38px; max-width: 188px; }
}

/* Loyaltfy — tema ustune projeye ozel ince duzeltmeler */
.loy-card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; border-color: #eef0f6 !important; }
.loy-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(23,32,74,.35); border-color: #cfd6f5 !important; }
.navbar.style-4 .navbar-nav .nav-link { text-transform: none; font-weight: 600; }
.section-head.style-4 h2 { line-height: 1.25; }
footer.style-4 .foot a:hover { color: #a855f7; }

/* ---------- Hero panel maketi ---------- */
.hero-panel { position: relative; z-index: 2; padding: 6px 0 16px; }
@media (min-width: 992px) {
  header.style-4 .hero-panel {
    margin-left: 8px;
    margin-right: 0;
  }
}
.hp-window { background:#fff; border:1px solid #eceaf6; border-radius:var(--loy-radius-lg); overflow:hidden;
  box-shadow:
    0 20px 48px -28px rgba(23, 32, 74, 0.28),
    0 6px 20px -10px rgba(168, 85, 247, 0.1);
  position:relative; z-index: 2; }

.hero-panel--statik .hp-window {
  line-height: 0;
}

.hp-hero-gorsel {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.hp-sahne { position:relative; }
.hp-kare { position:relative; line-height:0; overflow:hidden; }
.hp-photo { display:block; width:100%; height:auto; }
.hp-zoom {
  position: relative;
  transform-origin: 42% 40%;
  animation: hp-ken 28s ease-in-out infinite alternate;
}
@keyframes hp-ken {
  from { transform: scale(1); }
  to { transform: scale(1.03); }
}
.hp-anim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.hp-tarama {
  position: absolute;
  left: 0;
  right: 0;
  height: 16%;
  background: linear-gradient(180deg, transparent, rgba(192,132,252,.2), transparent);
  mix-blend-mode: screen;
  animation: hp-sweep 5.4s ease-in-out infinite;
}
@keyframes hp-sweep {
  0% { top: -20%; opacity: 0; }
  14% { opacity: 1; }
  86% { opacity: .75; }
  100% { top: 92%; opacity: 0; }
}
.hp-isi-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  background:
    radial-gradient(ellipse at 34% 70%, rgba(124,58,237,.38), transparent 36%),
    radial-gradient(ellipse at 62% 48%, rgba(168,85,247,.28), transparent 32%);
  mix-blend-mode: screen;
}
.hp-sahne[data-katman="isi"] .hp-isi-overlay { opacity: 1; }
.hp-sahne[data-katman="kuyruk"] .hp-tarama { animation-duration: 2.8s; }

.hp-modlar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 4px;
  margin: 12px 14px 14px;
  padding: 4px;
  background: #f6f5fc;
  border: 1px solid #eceaf6;
  border-radius: 999px;
}
.hp-mod {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  margin: 0;
  border: 0;
  background: transparent;
  color: #3b3a5a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 0 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.hp-mod.is-on { background: #a855f7; color: #fff; }
.hp-mod:not(.is-on):hover { color: #1c1b33; background: #eeedf8; }
.hp-mod:focus-visible { outline: 2px solid #a855f7; outline-offset: 2px; }

.hp-bar { display:flex; align-items:center; gap:7px; padding:0 16px; height:44px; background:#faf9ff; border-bottom:1px solid #f0eefa; }
.hp-dot { width:10px; height:10px; border-radius:50%; display:inline-block; }
.hp-url { margin-left:10px; font-size:11px; color:#8b8ba7; font-family:monospace; }
.hp-live { margin-left:auto; display:inline-flex; align-items:center; gap:5px; font-size:10px; font-weight:700;
  color:#a855f7; background:#f5efff; border-radius:20px; padding:4px 9px; }
.hp-pulse { width:6px; height:6px; border-radius:50%; background:#a855f7; animation:hp-blink 1.6s ease-in-out infinite; }
@keyframes hp-blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.hp-body { padding:18px; display:grid; gap:14px; }
.hp-kpis { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.hp-kpi { border:1px solid #f0eefa; border-radius:12px; padding:12px; display:grid; gap:4px; }
.hp-kpi-label { font-size:10px; text-transform:uppercase; letter-spacing:.06em; color:#9b9bb4; }
.hp-kpi-value { font-size:20px; line-height:1; color:#1c1b33; }
.hp-kpi-delta { font-size:11px; font-weight:600; color:#a855f7; display:inline-flex; align-items:center; gap:3px; }
.hp-chart { border:1px solid #f0eefa; border-radius:12px; padding:14px; }
.hp-chart-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.hp-chart-head span { font-size:12px; font-weight:600; color:#3b3a5a; }
.hp-chart-head small { font-size:10px; color:#9b9bb4; font-family:monospace; }
.hp-bars { display:flex; align-items:flex-end; gap:6px; height:110px; }
.hp-bar-item { flex:1; border-radius:5px 5px 0 0; background:linear-gradient(180deg,#c084fc,#a855f7); opacity:.55;
  transform-origin:bottom; animation:hp-rise .7s cubic-bezier(.16,1,.3,1) backwards; }
.hp-bar-item.is-peak { opacity:1; background:linear-gradient(180deg,#e056fd,#7c3aed); }
@keyframes hp-rise { from { transform:scaleY(.2) } to { transform:scaleY(1) } }
.hp-axis { display:flex; justify-content:space-between; margin-top:10px; padding-top:10px; border-top:1px solid #f6f5fc;
  font-size:10px; color:#a9a9c0; font-family:monospace; }
.hp-alert { display:flex; gap:12px; align-items:center; background:#f5efff; border:1px solid #e9d5ff; border-radius:12px; padding:12px 14px; }
.hp-alert-icon { width:34px; height:34px; border-radius:9px; background:#ede5ff; color:#a855f7;
  display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
.hp-alert strong { display:block; font-size:12.5px; color:#7c3aed; }
.hp-alert span { font-size:11.5px; color:#a855f7; }
.hp-float { position:absolute; display:flex; align-items:center; gap:10px; background:#fff; border:1px solid #eceaf6;
  border-radius:14px; padding:12px 16px; box-shadow:0 20px 45px -22px rgba(23,32,74,.4); }
.hp-float-icon { width:36px; height:36px; border-radius:10px; background:#f5efff; color:#a855f7;
  display:inline-flex; align-items:center; justify-content:center; }
.hp-float strong { display:block; font-size:16px; line-height:1.1; color:#1c1b33; }
.hp-float small { font-size:10.5px; color:#8b8ba7; }
/* Konum + parallax yuvada, suzulme animasyonu kartta (ayni transform'u
   iki kaynak birden yazamaz; catismasin diye ayrildi). */
.hp-float-yuva { position:absolute; z-index:4; pointer-events:none; }
.hp-float-yuva .hp-float { position:static; }
.hp-float-yuva-1 { top:-14px; right:-10px; }
.hp-float-yuva-2 { bottom: 96px; left: -18px; }
.hp-float-1 { animation:hp-float 7s ease-in-out infinite; }
.hp-float-2 { animation:hp-float 6s ease-in-out infinite .8s; }
@keyframes hp-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@media (max-width:991px){ .hp-float-yuva-2{ left:0 } .hp-float-yuva-1{ right:0 } }
@media (max-width:575px){ .hp-float-yuva{ display:none } .hp-kpis{ grid-template-columns:1fr } }
@media (prefers-reduced-motion: reduce){
  .hp-bar-item,.hp-float,.hp-pulse,.hp-tarama,.hp-zoom { animation:none }
  .hp-zoom { transform:none }
}

/* Hero panelinin kesilmemesi icin tema kurallarini gevset */
body { overflow-x: hidden; }
header.style-4 .content .bubble { max-width: 100%; opacity: 0.35; }
header.style-4 .content .info span.mt-100 { margin-top: 40px !important; }
@media (min-width: 992px) {
  header.style-4 .content .info { padding-top: 10px; }
}
.hp-bars { height: 92px; }
.hp-body { padding: 16px; gap: 12px; }

/* Menu ogeleri artinca yatay bosluklari daralt */
@media (min-width: 992px) and (max-width: 1399px) {
  .navbar.style-4 .navbar-nav .nav-item .nav-link { margin: 0 8px; font-size: 11.5px; }
}

/* ============ Mini panelli cozum kartlari (feature grid) ============ */
.feat-card { background:#fff; border:1px solid #eceaf6; border-radius:var(--loy-radius-lg); overflow:hidden;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.feat-card:hover { transform:translateY(-4px); border-color:#cfd6f5; box-shadow:0 22px 46px -26px rgba(23,32,74,.4); }

/* Ana sayfa KVKK bandi */
.loy-kvkk-band {
  background: linear-gradient(135deg, rgba(255,255,255,.92) 0%, rgba(245,239,255,.88) 48%, rgba(237,226,255,.82) 100%);
  border: 1px solid rgba(168, 85, 247, 0.14);
  box-shadow: 0 18px 44px -30px rgba(26, 13, 63, 0.22);
}

.loy-kvkk-badge {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.1);
  color: var(--loy-brand-violet);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.loy-kvkk-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: calc(var(--loy-radius-lg) - 6px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(168, 85, 247, 0.08);
}

.loy-kvkk-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f5efff;
  color: var(--loy-brand);
}

.loy-kvkk-ghost {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(168, 85, 247, 0.22) !important;
  color: var(--loy-brand-violet) !important;
}

.loy-kvkk-ghost:hover {
  background: #fff;
  border-color: rgba(168, 85, 247, 0.35) !important;
  color: var(--loy-brand-violet) !important;
}

.loy-kvkk-note {
  color: #5b5678;
  padding: 14px 16px;
  border-radius: calc(var(--loy-radius-lg) - 8px);
  background: rgba(255, 255, 255, 0.55);
  border: 1px dashed rgba(168, 85, 247, 0.2);
}
.feat-visual { position:relative; height:186px; padding:16px; background:#faf7ff; border-bottom:1px solid #f0eefa; overflow:hidden; }

.fv-stack { display:grid; gap:10px; height:100%; align-content:center; }
.fv-bottom { position:absolute; left:16px; right:16px; bottom:16px; }
.fv-bars { display:flex; align-items:flex-end; gap:4px; height:78px; }
.fv-bars-sm { height:38px; gap:3px; }
.fv-bar { flex:1; border-radius:4px 4px 0 0; background:linear-gradient(180deg,#c084fc,#a855f7); opacity:.75; }
.fv-bars-green .fv-bar { background:linear-gradient(180deg,#c084fc,#a855f7); }
.fv-axis { display:flex; justify-content:space-between; margin-top:8px; font-size:9.5px; color:#a9a9c0; font-family:monospace; }
.fv-live { position:absolute; top:16px; left:16px; display:inline-flex; align-items:center; gap:6px;
  background:#f5efff; color:#a855f7; font-size:10.5px; font-weight:700; border-radius:20px; padding:5px 10px; }
.fv-dot { width:6px; height:6px; border-radius:50%; background:#a855f7; }

.fv-heat { position:relative; width:100%; height:100%; border-radius:12px; overflow:hidden; background:#e4e1f7; }
.fv-blob { position:absolute; border-radius:50%; filter:blur(13px); }
.fv-plan { position:absolute; inset:0; width:100%; height:100%; }
.fv-plan rect { stroke:rgba(80,80,140,.22); stroke-width:.8; fill:none; }
.fv-tag { position:absolute; top:10px; right:10px; background:rgba(255,255,255,.9); color:#3b3a5a;
  font-size:10px; font-weight:600; border-radius:6px; padding:3px 8px; }

.fv-row { display:flex; align-items:center; justify-content:space-between; background:#fff; border:1px solid #f0eefa;
  border-radius:10px; padding:9px 11px; }
.fv-label { font-size:11px; color:#57566f; font-weight:600; }
.fv-row-right { font-size:11px; color:#1c1b33; display:inline-flex; gap:6px; align-items:baseline; }
.fv-muted { color:#9b9bb4; }
.fv-kpis { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.fv-kpi { background:#fff; border:1px solid #f0eefa; border-radius:10px; padding:9px 11px; display:grid; gap:3px; }
.fv-kpi-center { text-align:center; justify-items:center; }
.fv-kpi-label { font-size:9.5px; text-transform:uppercase; letter-spacing:.05em; color:#9b9bb4; }
.fv-kpi strong { font-size:15px; color:#1c1b33; }
.fv-kpi-green strong { color:#a855f7; }
.fv-big { font-size:22px !important; line-height:1; }

.fv-person { display:flex; align-items:center; gap:10px; }
.fv-avatar { width:36px; height:36px; border-radius:50%; background:#f5efff; color:#a855f7;
  display:inline-flex; align-items:center; justify-content:center; }
.fv-person strong { font-size:12.5px; color:#1c1b33; }
.fv-chips { display:flex; flex-wrap:wrap; gap:5px; }
.fv-chip { font-size:10px; font-weight:600; padding:4px 9px; border-radius:7px; background:#fff; border:1px solid #eceaf6; color:#8b8ba7; }
.fv-chip.is-on { background:#f5efff; border-color:#e9d5ff; color:#a855f7; }
.fv-chip.is-pink { background:#f5efff; border-color:#e9d5ff; color:#a855f7; }

.fv-queue { display:flex; align-items:center; gap:9px; background:#fff; border:1px solid #f0eefa; border-radius:10px; padding:8px 11px; }
.fv-status { width:7px; height:7px; border-radius:50%; flex-shrink:0; }
.fv-blue { background:#c084fc; } .fv-amber { background:#a855f7; } .fv-green { background:#e056fd; }
.fv-queue-name { font-size:11px; color:#57566f; flex:1; }
.fv-people { display:inline-flex; }
.fv-people span { width:13px; height:13px; border-radius:50%; background:#dedcf0; border:1.5px solid #fff; margin-left:-4px; }
.fv-time { font-size:11.5px; font-family:monospace; color:#3b3a5a; }
.fv-time-warn { color:#a855f7; }
.fv-alert { display:flex; align-items:center; gap:7px; background:#f5efff; border:1px solid #e9d5ff; color:#a855f7;
  border-radius:9px; padding:7px 11px; font-size:10.5px; font-weight:600; }

.fv-shift { display:grid; gap:5px; }
.fv-shift-head { display:flex; justify-content:space-between; font-size:10.5px; color:#8b8ba7; }
.fv-track { display:block; height:6px; border-radius:20px; background:#eceafb; overflow:hidden; }
.fv-fill { display:block; height:100%; border-radius:20px; }

/* ==================== MEGA MENU ==================== */
@media (min-width: 992px) {
  .navbar.style-4 .nav-item.has-mega { position: static; }
  .navbar.style-4 .mega-menu {
    position: absolute; top: calc(100% + 12px); left: 0; right: 0; width: 100%;
    margin: 0; padding: 0; border: 1px solid #eceaf6; border-radius: 20px; background: #fff;
    box-shadow: 0 34px 70px -30px rgba(23,32,74,.35);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s; display: block;
  }
  .navbar.style-4 .has-mega:hover .mega-menu,
  .navbar.style-4 .mega-menu.show {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
  .mega-inner { display: grid; grid-template-columns: 1fr 1fr 1fr 300px; gap: 0; }
  .mega-cols { grid-column: span 3; display: grid; grid-template-columns: repeat(3, 1fr); }
  .mega-cols-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .navbar.style-4 .mega-menu { border: 0; box-shadow: none; padding: 0; }
  .mega-inner { display: block; }
  .mega-cols { display: block; }
  .mega-promo { display: none !important; }
}

.mega-col { padding: 26px 24px; border-right: 1px solid #f2f0fa; }
.mega-col:last-child { border-right: 0; }
.mega-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  color: #a855f7; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.mega-title-link { text-decoration: none; }
.mega-title-link:hover { color: #2a1fd0; }
.mega-link { display: flex; gap: 11px; align-items: flex-start; padding: 8px 10px; margin: 0 -10px;
  border-radius: 10px; text-decoration: none; transition: background-color .15s ease; }
.mega-link:hover { background: #faf7ff; }
.mega-ico { width: 34px; height: 34px; border-radius: 9px; background: #f5efff; color: #a855f7;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; }
.mega-ico-sm { width: 26px; height: 26px; border-radius: 7px; font-size: 12px; }
.mega-link-title { display: block; font-size: 13.5px; font-weight: 700; color: #1c1b33; line-height: 1.35; }
.mega-link-desc { display: block; font-size: 11.5px; color: #8b8ba7; line-height: 1.5; margin-top: 2px; }
.mega-sub { display: block; padding: 6px 10px; margin: 0 -10px; border-radius: 8px;
  font-size: 12.5px; color: #57566f; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.mega-sub:hover { background: #faf7ff; color: #a855f7; }

.mega-promo { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; text-decoration: none;
  background: linear-gradient(155deg, #191840 0%, #2c1d63 100%); border-radius: 0 20px 20px 0; }
.mega-promo-tag { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: #b9a9ff; }
.mega-promo-title { font-size: 18px; font-weight: 700; color: #fff; line-height: 1.3; }
.mega-promo-text { font-size: 12px; color: #a8a8c8; line-height: 1.6; }
.mega-promo-cta { margin-top: auto; font-size: 12.5px; font-weight: 700; color: #fff; }
.mega-promo-phone { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 700; color: #fff;
  background: rgba(255,255,255,.12); border-radius: 30px; padding: 8px 14px; width: fit-content; margin-top: 6px; }

.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 24px; border-top: 1px solid #f2f0fa; background: #faf9ff; border-radius: 0 0 20px 20px; }
.mega-foot a { font-size: 12.5px; font-weight: 700; color: #a855f7; text-decoration: none; }
.mega-foot-right { color: #57566f !important; }
.mega-badge { display: inline-block; margin-left: 6px; font-size: 10.5px; font-weight: 600;
  background: #f5efff; color: #a855f7; border-radius: 20px; padding: 3px 9px; }

/* ==================== Yasal metin bicimleri ==================== */
.page-body h4 { font-size: 20px; font-weight: 700; color: #1c1b33; margin: 34px 0 14px; }
.page-body h5 { font-size: 16px; font-weight: 700; color: #3b3a5a; margin: 24px 0 10px; }
.page-body ul { padding-left: 20px; }
.page-body li { margin-bottom: 8px; }
.legal-ph { background: #f5efff; color: #7c3aed; font-weight: 700; padding: 1px 7px;
  border-radius: 5px; border: 1px dashed #e9d5ff; white-space: nowrap; }
.legal-table { width: 100%; border-collapse: collapse; margin: 14px 0 24px; font-size: 13.5px; }
.legal-table th, .legal-table td { border: 1px solid #e9e7f4; padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-table thead th { background: #faf7ff; color: #3b3a5a; font-weight: 700; font-size: 12.5px; }
.legal-table-2 th { background: #faf7ff; width: 240px; color: #3b3a5a; }
.legal-empty { text-align: center; color: #9b9bb4; font-style: italic; }
.legal-note { background: #faf7ff; border-left: 3px solid #a855f7; padding: 12px 16px;
  border-radius: 0 10px 10px 0; font-size: 13.5px; color: #57566f; margin: 12px 0; }
.legal-updated { margin-top: 32px; padding: 14px 18px; border-radius: 12px; background: #f5efff;
  border: 1px solid #e9d5ff; color: #a855f7; font-size: 13.5px; }
@media (max-width: 767px) {
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td, .legal-table th { display: block; width: 100%; }
  .legal-table thead { display: none; }
  .legal-table td { border-top: 0; }
  .legal-table tr { margin-bottom: 14px; border: 1px solid #e9e7f4; border-radius: 10px; overflow: hidden; }
}

/* ==================== Cerez onay bandi ==================== */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1080;
  background: #fff; border-top: 1px solid #e9e7f4; box-shadow: 0 -14px 40px -22px rgba(23,32,74,.35); }
.cookie-inner { max-width: 1200px; margin: 0 auto; padding: 18px 20px; display: flex; gap: 22px;
  align-items: center; flex-wrap: wrap; }
.cookie-text { flex: 1 1 420px; }
.cookie-text strong { display: block; font-size: 14.5px; color: #1c1b33; margin-bottom: 4px; }
.cookie-text p { font-size: 13px; color: #57566f; margin: 0; line-height: 1.6; }
.cookie-text a { color: #a855f7; font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
/* Uc buton ayni boyut, ayni renk, ayni agirlik — yonlendirici tasarim yok */
.cookie-btn { min-width: 168px; padding: 12px 18px; border-radius: 10px; border: 1px solid #cfcbe8;
  background: #fff; color: #1c1b33; font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease; }
.cookie-btn:hover { border-color: #a855f7; background: #faf7ff; }
.cookie-btn:focus-visible { outline: 3px solid rgba(74,58,255,.35); outline-offset: 2px; }

.cookie-panel { position: fixed; inset: 0; z-index: 1090; }
.cookie-panel-backdrop { position: absolute; inset: 0; background: rgba(16,16,52,.5); }
.cookie-panel-box { position: relative; max-width: 620px; margin: 6vh auto 0; background: #fff;
  border-radius: 18px; overflow: hidden; max-height: 88vh; display: flex; flex-direction: column;
  box-shadow: 0 40px 80px -30px rgba(16,16,52,.6); }
.cookie-panel-head { display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid #f0eefa; }
.cookie-panel-head h5 { margin: 0; font-size: 17px; font-weight: 700; color: #1c1b33; }
.cookie-close { border: 0; background: #f4f3fb; width: 34px; height: 34px; border-radius: 9px;
  color: #57566f; cursor: pointer; }
.cookie-panel-body { padding: 20px 24px; overflow-y: auto; }
.cookie-panel-intro { font-size: 13px; color: #57566f; line-height: 1.65; margin-bottom: 18px; }
.cookie-cat { padding: 14px 0; border-bottom: 1px solid #f4f3fb; }
.cookie-cat:last-child { border-bottom: 0; }
.cookie-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cookie-cat-title { font-size: 14px; font-weight: 700; color: #1c1b33; }
.cookie-cat-locked { font-size: 11.5px; font-weight: 600; color: #a855f7; background: #f5efff;
  border-radius: 20px; padding: 4px 10px; }
.cookie-cat-desc { font-size: 12.5px; color: #8b8ba7; margin: 6px 0 0; line-height: 1.6; }
.cookie-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-slider { position: absolute; inset: 0; background: #d9d6ec; border-radius: 30px;
  cursor: pointer; transition: background-color .2s ease; }
.cookie-slider::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%; transition: transform .2s ease; }
.cookie-switch input:checked + .cookie-slider { background: #a855f7; }
.cookie-switch input:checked + .cookie-slider::before { transform: translateX(20px); }
.cookie-switch input:focus-visible + .cookie-slider { outline: 3px solid rgba(74,58,255,.35); outline-offset: 2px; }
.cookie-panel-foot { display: flex; gap: 10px; padding: 16px 24px; border-top: 1px solid #f0eefa;
  background: #faf9ff; flex-wrap: wrap; }
.cookie-panel-foot .cookie-btn { flex: 1 1 160px; min-width: 0; }
@media (max-width: 575px) {
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1 1 100%; min-width: 0; }
  .cookie-panel-box { margin: 0; border-radius: 0; max-height: 100vh; height: 100%; }
}

/* Breadcrumb: temanin .small kurali flex duzenini bozdugu icin ayri sinif kullaniliyor */
.loy-crumb { font-size: 13px; display: flex !important; flex-wrap: wrap; align-items: center; }
.loy-crumb .breadcrumb-item { display: flex; align-items: center; }
.loy-crumb .breadcrumb-item + .breadcrumb-item::before { content: "/"; padding: 0 .5rem; color: #b6b4cc; }

/* Blok ogelerde tema .small kuralindan kacinmak icin guvenli kucuk metin sinifi */
.loy-sm { font-size: 13px; line-height: 1.65; }

/* Mega menu ve sabit menu: icerigin her zaman ustunde */
.top-navbar.style-4 {
  position: relative;
  z-index: 1040 !important;
}

.navbar.style-4 {
  position: sticky;
  top: 0;
  z-index: 1050 !important;
}

/* Tema nav-scroll: fixed yerine sticky — icerik menu altina kaymaz */
.navbar.style-4.nav-scroll {
  position: sticky !important;
  top: 0 !important;
  left: auto;
  width: auto;
  transform: none !important;
  -webkit-transform: none !important;
  margin-top: 0 !important;
  border-radius: 0 0 var(--loy-radius-md) var(--loy-radius-md) !important;
  box-shadow: 0 10px 28px rgba(26, 13, 63, 0.08);
}

html {
  scroll-padding-top: 92px;
}

header.style-4 .content { z-index: 2; }

/* Ust bant: tema arka plan gorseli cover ile olceklendigi icin bandin yuksekligi
   temadaki ile ayni olmali (82px), aksi halde dekoratif sekiller gorunur alana kayiyor */
.top-navbar.style-4 .content { min-height: 22px; display: flex; align-items: center; }

/* Footer sag alt: Protechsoft imzasi (aciklama title olarak verilir) */
.foot-protechsoft img { height: 30px; width: auto; opacity: .55; transition: opacity .2s ease; }
.foot-protechsoft:hover img { opacity: 1; }

/* Site geneli: Bootstrap vurgu siniflari marka moru */
.text-success,
.text-danger,
.text-warning,
.text-info { color: var(--loy-brand) !important; }
.bg-success,
.bg-danger,
.bg-warning,
.bg-info { background-color: var(--loy-brand) !important; }
.border-success,
.border-danger,
.border-warning,
.border-info { border-color: var(--loy-brand) !important; }
.btn-success,
.btn-danger,
.btn-warning,
.btn-info { background-color: var(--loy-brand) !important; border-color: var(--loy-brand) !important; }
.btn-outline-success,
.btn-outline-danger,
.btn-outline-warning,
.btn-outline-info { color: var(--loy-brand) !important; border-color: var(--loy-brand) !important; }
.btn-outline-success:hover,
.btn-outline-danger:hover,
.btn-outline-warning:hover,
.btn-outline-info:hover { background-color: var(--loy-brand) !important; color: #fff !important; }

/* Tema style.css: yesil/turuncu/mavi vurgular */
.color-green,
.color-orange1,
.color-orange3,
.color-orange4 { color: var(--loy-brand) !important; }
.bg-green,
.bg-orange1,
.bg-orange3 { background-color: var(--loy-brand) !important; }

/* ========== Instagram marka uyumu ========== */

/* Basliklar: Playfair Display (post serif) */
.loy-display,
header.style-4 .content .info h1,
.section-head.style-4 h2,
.inner-hero .section-head.style-4 h2,
footer.style-4 .section-head h2 {
  font-family: var(--loy-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--loy-brand-ink);
}

header.style-4 .content .info h1 {
  line-height: 1.15;
}

.section-head.style-4 .title_small,
header.style-4 .content .info .title_small {
  background-color: var(--loy-brand-light);
  color: var(--loy-brand-mid);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.section-head.style-4 h5 {
  color: var(--loy-brand-magenta) !important;
}

/* Birincil CTA: Instagram post buton gradyani */
.loy-btn-primary,
.btn.bg-blue4,
a.btn.bg-blue4 {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 48%, #7c3aed 100%) !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: 0 14px 36px -10px var(--loy-brand-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.loy-btn-primary:hover,
.btn.bg-blue4:hover,
a.btn.bg-blue4:hover {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 18px 42px -10px rgba(168, 85, 247, 0.55);
}

/* Koyu CTA bandi (post 1 arka plani) */
.loy-cta-band {
  background: radial-gradient(ellipse 90% 130% at 50% 0%, #3b0764 0%, #1a0d3f 52%, #0f051d 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.loy-cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(168, 85, 247, 0.28), transparent 52%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 38px, rgba(255, 255, 255, 0.03) 38px 39px);
  pointer-events: none;
}

.loy-cta-band .loy-display {
  color: #fff;
  position: relative;
  z-index: 1;
}

.loy-cta-lead {
  opacity: 0.88;
  position: relative;
  z-index: 1;
}

.loy-cta-ghost {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(6px);
}

.loy-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
}

/* Ic sayfa hero: sayfa gradyani gorunsun */
.loy-inner-hero {
  background: transparent !important;
  padding-top: 92px !important;
}

/* Hero ↔ metrik: tek yuzey, sinir cizgisi yok */
header.style-4 {
  position: relative;
  background: transparent !important;
  padding-bottom: 56px;
  margin-bottom: 0;
  overflow: visible !important;
  border: none;
}

header.style-4 .wave {
  display: none !important;
}

header.style-4 .content {
  overflow: visible !important;
  position: relative;
  z-index: 2;
}

/* Eski ::after bandi partikulleri kesiyordu — kaldirildi */
header.style-4::after {
  display: none !important;
  content: none !important;
}

body.loy-ana main {
  position: relative;
  z-index: 1;
  margin-top: -64px;
  padding-top: 0;
}

body.loy-ana main > section:first-child {
  padding-top: 80px !important;
  padding-bottom: 50px !important;
  background: transparent !important;
  position: relative;
}

@media (max-width: 991px) {
  header.style-4 {
    padding-bottom: 40px;
  }

  body.loy-ana main {
    margin-top: -36px;
  }

  body.loy-ana main > section:first-child {
    padding-top: 56px !important;
  }
}

/* Footer: sayfa gradyaninin alt tonuyla birlesir */
footer.style-4 {
  background: linear-gradient(180deg, transparent 0%, rgba(221, 208, 248, 0.45) 100%) !important;
}

/* Bolum arka planlari: duz renk yerine sayfa gradyani */
body > section,
main > section,
main section.section-padding,
main section.py-50,
main section {
  background: transparent !important;
}

/* Kart / kutu: hafif cam etkisi, gradyan alttan gorunur */
.loy-surface {
  background: rgba(255, 255, 255, 0.62) !important;
  backdrop-filter: blur(10px);
  border-color: rgba(168, 85, 247, 0.1) !important;
}

/* Vurgu metinleri (post 3-4 magenta kelimeler) */
.loy-accent {
  color: var(--loy-brand-magenta);
  font-weight: 700;
}

/* Nav / footer hover */
footer.style-4 .foot a:hover,
.navbar.style-4 .navbar-nav .nav-link:hover,
.navbar.style-4 .navbar-nav .nav-link.active {
  color: var(--loy-brand) !important;
}

/* Mega menu promo: koyu mor gradyan */
.mega-promo {
  background: radial-gradient(ellipse at 30% 0%, #3b0764 0%, #1a0d3f 55%, #0f051d 100%) !important;
}

.mega-promo-tag {
  color: #e9d5ff !important;
}

/* ========== Yumusak koseler (kartlar, bantlar, paneller) ========== */

/* Bu Bootstrap surumunde rounded-4 tanimli degil */
.rounded-4 {
  border-radius: var(--loy-radius-lg) !important;
}

.loy-card,
.loy-surface,
.loy-cta-band,
.feat-card,
.hp-window,
.accordion-item,
.pricing.style-4 .pricing-card,
.cookie-panel-box {
  border-radius: var(--loy-radius-lg) !important;
}

/* Navbar ve mega menu */
.navbar.style-4 {
  border-top-left-radius: var(--loy-radius-lg) !important;
  border-top-right-radius: var(--loy-radius-lg) !important;
}

@media (min-width: 992px) {
  .navbar.style-4 .mega-menu {
    border-radius: var(--loy-radius-lg) !important;
  }

  .mega-foot {
    border-radius: 0 0 var(--loy-radius-lg) var(--loy-radius-lg) !important;
  }
}

/* Ic paneller — hafif yumusatma */
.hp-kpi,
.hp-chart,
.hp-alert,
.hp-float,
.fv-kpi,
.fv-row,
.fv-queue,
.fv-alert,
.fv-heat,
.legal-note,
.legal-updated,
.cookie-btn {
  border-radius: var(--loy-radius-sm) !important;
}

.hp-alert-icon,
.hp-float-icon,
.fv-tag {
  border-radius: var(--loy-radius-xs) !important;
}

/* Bootstrap akordeon: varsayilan mavi primary yerine marka moru */
.accordion-button:not(.collapsed) {
  color: var(--loy-brand) !important;
  background-color: var(--loy-brand-light) !important;
  box-shadow: inset 0 -1px 0 rgba(168, 85, 247, 0.12);
}

.accordion-button:focus {
  border-color: var(--loy-brand-pale);
  box-shadow: 0 0 0 0.2rem rgba(168, 85, 247, 0.18);
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23a855f7'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.accordion-collapse.show .accordion-body {
  background-color: var(--loy-brand-light);
}
