/* ============================================================
   BETPIR — Bilgi Merkezi
   style.css — temel stiller, bileşenler, animasyonlar
   ============================================================ */

/* ---------- 1. Değişkenler ---------- */
:root {
  /* Derin lacivert / siyah-mavi gradyan paleti (görsel yönden alındı) */
  --bg: #050b18;
  --bg-2: #030711;
  --bg-3: #081326;
  --card: #0b1526;
  --card-2: #101d33;

  --primary: #00c8ff;
  --secondary: #1f7cff;
  --accent: #57e3ff;

  --text: #ffffff;
  --muted: rgba(255, 255, 255, .7);
  --muted-2: rgba(255, 255, 255, .52);

  --line: rgba(120, 180, 255, .12);
  --line-strong: rgba(120, 190, 255, .24);

  --glass: rgba(8, 18, 34, .68);
  --glass-hi: rgba(120, 190, 255, .05);

  --grad: linear-gradient(135deg, var(--accent) 0%, var(--primary) 45%, var(--secondary) 100%);
  --grad-soft: linear-gradient(135deg, rgba(87, 227, 255, .16), rgba(31, 124, 255, .16));

  --ok: #34d399;
  --warn: #fbbf24;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;

  --shadow: 0 22px 60px rgba(0, 6, 20, .62);
  --shadow-glow: 0 0 0 1px rgba(0, 200, 255, .34), 0 22px 56px rgba(0, 160, 255, .22);

  --header-h: 84px;
  --header-h-sm: 66px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --maxw: 1240px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: #02060f;
  /* Giriş animasyonları öğeleri geçici olarak görünüm alanının dışına taşır.
     `clip`, `hidden`in aksine kaydırma kapsayıcısı oluşturmaz —
     böylece yan sütundaki `position: sticky` çalışmaya devam eder. */
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-sm) + 22px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  position: relative;
  z-index: 0;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

body.nav-open { overflow: hidden; }

img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.22; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1.05em; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; transition: color .22s var(--ease); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(0, 200, 255, .3); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--primary); color: #04141c; padding: 12px 20px;
  font-weight: 700; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Yerleşim ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 26px;
}
.container-narrow { max-width: 920px; }

.section { padding: 104px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, rgba(3, 8, 20, .74), rgba(6, 14, 30, .58)); }
.section-alt::before,
.section-alt::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.section-alt::before { top: 0; }
.section-alt::after { bottom: 0; }

.section-head { max-width: 700px; margin: 0 auto 58px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: .4em; }
.section-head p { color: var(--muted); font-size: 1.03rem; margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- 4. Düğmeler ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn svg { flex-shrink: 0; }

.btn-primary {
  background: var(--grad);
  color: #04141c;
  box-shadow: 0 10px 28px rgba(0, 200, 255, .26);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 200, 255, .42);
}

.btn-outline {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-outline:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  color: var(--accent);
  box-shadow: 0 14px 34px rgba(0, 200, 255, .18);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
}
.btn-ghost:hover { color: var(--accent); border-color: rgba(0, 200, 255, .45); }

.btn-sm { padding: 10px 18px; font-size: .87rem; border-radius: 10px; }
.btn-lg { padding: 17px 34px; font-size: 1.02rem; border-radius: 14px; }
.btn-block { display: flex; width: 100%; margin-bottom: 10px; }
.btn-block:last-child { margin-bottom: 0; }

/* Parlama animasyonu */
.btn-shine::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  animation: shine 3.6s var(--ease) infinite;
}
@keyframes shine {
  0%, 62% { left: -120%; }
  100% { left: 160%; }
}

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: height .34s var(--ease), background .34s var(--ease),
              border-color .34s var(--ease), box-shadow .34s var(--ease);
}
.site-header.scrolled {
  height: var(--header-h-sm);
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .42);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.logo { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark {
  display: grid; place-items: center;
  filter: drop-shadow(0 5px 14px rgba(0, 200, 255, .35));
  transition: transform .35s var(--ease-out);
}
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-text {
  font-size: 1.32rem;
  font-weight: 900;
  letter-spacing: -.035em;
}
.logo-text span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  display: block;
  padding: 9px 15px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 9px;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 15px; right: 15px; bottom: 3px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease-out);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  padding: 0 11px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--text); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .22s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.scroll-progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px; width: 0%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(0, 200, 255, .7);
  transition: width .1s linear;
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 92px) 0 104px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(96px);
  opacity: .28;
}
.orb-1 {
  width: 520px; height: 520px;
  top: -160px; right: -110px;
  background: radial-gradient(circle, rgba(0, 200, 255, .55), transparent 68%);
  animation: float 15s ease-in-out infinite;
}
.orb-2 {
  width: 460px; height: 460px;
  bottom: -180px; left: -130px;
  background: radial-gradient(circle, rgba(31, 124, 255, .5), transparent 68%);
  animation: float 19s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(34px, -32px) scale(1.09); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 78% 62% at 50% 38%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 38%, #000 35%, transparent 100%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 12px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: var(--glass-hi);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 26px;
}
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  font-weight: 900;
  letter-spacing: -.035em;
  margin-bottom: .34em;
  background: linear-gradient(180deg, #fff 32%, rgba(255, 255, 255, .68));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.17rem);
  color: var(--muted);
  max-width: 570px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
}
.trust-row svg { color: var(--primary); }

/* Hero yan panel */
.hero-panel {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-panel::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(87, 227, 255, .5), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.panel-head {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .95rem;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.status-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ok);
  animation: pulse 2.2s infinite;
}
.panel-tag {
  margin-left: auto;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ok);
  background: rgba(52, 211, 153, .12);
  border: 1px solid rgba(52, 211, 153, .3);
  padding: 3px 9px;
  border-radius: 100px;
}
.status-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
}
.status-list li:last-child { border-bottom: 0; }
.status-name { color: var(--muted); }
.status-value { font-weight: 700; font-size: .84rem; }
.status-value.ok { color: var(--ok); }
.status-value.idle { color: var(--muted-2); }
.panel-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--muted-2);
}
.panel-foot strong { color: var(--accent); font-weight: 700; }

/* ---------- 7. Kartlar ---------- */
.card {
  position: relative;
  background: linear-gradient(158deg, rgba(13, 26, 46, .82), rgba(6, 14, 28, .88));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  overflow: hidden;
  transition: transform .38s var(--ease-out), border-color .32s var(--ease), box-shadow .38s var(--ease), background .32s var(--ease);
}
.card h3 { font-size: 1.13rem; margin-bottom: .5em; }
.card p { color: var(--muted); font-size: .93rem; margin: 0; }

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity .38s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-8px); border-color: rgba(0, 200, 255, .38); box-shadow: var(--shadow-glow); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }

/* Cam + parlayan kenar kartlar */
.glow-card {
  background: linear-gradient(160deg, rgba(26, 26, 26, .92), rgba(18, 18, 18, .92));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.glow-card::after {
  content: '';
  position: absolute;
  top: 0; left: 22px; right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity .38s var(--ease);
}
.glow-card:hover::after { opacity: 1; }

.card-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 15px;
  margin-bottom: 20px;
  color: var(--primary);
  background: rgba(0, 200, 255, .09);
  border: 1px solid rgba(0, 200, 255, .22);
  transition: transform .38s var(--ease-out), background .32s var(--ease), color .32s var(--ease), box-shadow .32s var(--ease);
}
.card:hover .card-icon {
  transform: translateY(-3px) scale(1.07);
  background: var(--grad);
  color: #04141c;
  box-shadow: 0 10px 26px rgba(0, 200, 255, .38);
}
.icon-alt { border-radius: 14px; }
.icon-sec {
  color: var(--accent);
  background: rgba(87, 227, 255, .08);
  border-color: rgba(87, 227, 255, .22);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: .86rem;
  font-weight: 700;
  color: var(--primary);
}
.card-link svg { transition: transform .3s var(--ease-out); }
.card:hover .card-link svg { transform: translateX(4px); }

.feature-card { padding: 32px 28px; }
.sec-card p { font-size: .91rem; }

/* ---------- 8. İstatistikler ---------- */
.section-stats { padding: 0; }
.stats-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat {
  background: linear-gradient(158deg, rgba(12, 24, 44, .8), rgba(5, 12, 26, .88));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 44px 22px;
  text-align: center;
  transition: background .32s var(--ease);
}
.stat:hover { background: var(--card-2); }
.stat strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 10px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span {
  font-size: .87rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .02em;
}

/* ---------- 9. Duyuru panosu ---------- */
.notice-board { display: grid; gap: 16px; }
.notice {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 22px;
  background: linear-gradient(158deg, rgba(12, 24, 44, .8), rgba(5, 12, 26, .88));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: transform .34s var(--ease-out), border-color .3s var(--ease), box-shadow .34s var(--ease);
}
.notice:hover {
  transform: translateX(6px);
  border-color: rgba(0, 200, 255, .34);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .4);
}
.notice-date {
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 13px;
  background: var(--grad-soft);
  border: 1px solid rgba(0, 200, 255, .2);
  font-size: .76rem;
  font-weight: 700;
  color: var(--muted);
  padding: 12px 0;
  height: fit-content;
}
.notice-date span {
  display: block;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 3px;
}
.notice-body h3 { font-size: 1.08rem; margin: 10px 0 .45em; }
.notice-body p { color: var(--muted); font-size: .93rem; margin: 0; }

.badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.badge-info { color: var(--primary); background: rgba(0, 200, 255, .11); border: 1px solid rgba(0, 200, 255, .26); }
.badge-accent { color: var(--accent); background: rgba(87, 227, 255, .1); border: 1px solid rgba(87, 227, 255, .25); }
.badge-warn { color: var(--warn); background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .26); }
.badge-ok { color: var(--ok); background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .26); }

.notice-alert {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 26px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: rgba(251, 191, 36, .06);
  border: 1px solid rgba(251, 191, 36, .24);
}
.notice-alert svg { color: var(--warn); flex-shrink: 0; margin-top: 2px; }
.notice-alert p { margin: 0; color: var(--muted); font-size: .93rem; }
.notice-alert strong { color: var(--text); }

/* ---------- 10. Blog + yan sütun ---------- */
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 46px;
  align-items: start;
}

.blog-main { display: grid; gap: 30px; min-width: 0; }

.post {
  background: linear-gradient(160deg, rgba(11, 22, 40, .84), rgba(5, 12, 25, .9));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 42px 44px;
  transition: border-color .32s var(--ease), box-shadow .32s var(--ease);
}
.post:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  font-size: .8rem;
  color: var(--muted-2);
  margin-bottom: 18px;
}

.post h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: .55em;
  letter-spacing: -.028em;
}
.post h3 {
  font-size: 1.13rem;
  margin: 1.9em 0 .55em;
  padding-left: 14px;
  border-left: 3px solid var(--primary);
  line-height: 1.4;
}
.post p { color: var(--muted); font-size: .96rem; line-height: 1.85; }
.post strong { color: var(--text); font-weight: 700; }
.post em { color: var(--accent); font-style: normal; font-weight: 600; }

/* Yan sütun */
.blog-sidebar { min-width: 0; }
.sidebar-sticky {
  position: sticky;
  top: calc(var(--header-h-sm) + 24px);
  display: grid;
  gap: 18px;
}

.side-box {
  background: linear-gradient(158deg, rgba(12, 24, 44, .8), rgba(5, 12, 26, .88));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: border-color .3s var(--ease);
}
.side-box:hover { border-color: var(--line-strong); }

.side-title {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.side-list li + li { margin-top: 3px; }
.side-list a {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: .89rem;
  font-weight: 600;
  color: var(--muted);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease-out);
}
.side-list a:hover {
  background: rgba(0, 200, 255, .07);
  color: var(--text);
  transform: translateX(3px);
}
.side-idx {
  font-size: .72rem;
  font-weight: 800;
  color: var(--primary);
  padding-top: 2px;
  flex-shrink: 0;
}
.side-list-plain a { padding-left: 14px; position: relative; }
.side-list-plain a::before {
  content: '';
  position: absolute;
  left: 2px; top: 50%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
  transform: translateY(-50%);
  opacity: .6;
}

.side-news li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.side-news li:last-child { border-bottom: 0; }
.side-news time {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.side-news p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.55; }

.side-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--primary);
}
.side-more svg { transition: transform .3s var(--ease-out); }
.side-more:hover svg { transform: translateX(4px); }

.side-cta {
  background: linear-gradient(160deg, rgba(0, 200, 255, .1), rgba(31, 124, 255, .06));
  border-color: rgba(0, 200, 255, .26);
}
.side-text { font-size: .89rem; color: var(--muted); margin-bottom: 16px; }

/* ---------- 11. SSS akordeon ---------- */
.faq { display: grid; gap: 12px; }

.faq-item {
  background: linear-gradient(158deg, rgba(12, 24, 44, .8), rgba(5, 12, 26, .88));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item.open {
  border-color: rgba(0, 200, 255, .36);
  box-shadow: 0 12px 32px rgba(0, 200, 255, .1);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  transition: color .25s var(--ease);
}
.faq-q:hover { color: var(--accent); }
.faq-item.open .faq-q { color: var(--accent); }

.faq-icon {
  position: relative;
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .34s var(--ease-out);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .34s var(--ease-out), opacity .25s var(--ease);
}
.faq-icon::before { width: 10px; height: 2px; }
.faq-icon::after { width: 2px; height: 10px; }
.faq-item.open .faq-icon {
  background: var(--grad);
  border-color: transparent;
  color: #04141c;
  transform: rotate(180deg);
}
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .42s var(--ease-out);
}
.faq-a-inner {
  padding: 0 24px 22px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .34s var(--ease) .06s, transform .34s var(--ease-out) .06s;
}
.faq-item.open .faq-a-inner { opacity: 1; transform: translateY(0); }
.faq-a-inner p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.8; }
.faq-a-inner strong { color: var(--text); }
.faq-a-inner em { color: var(--accent); font-style: normal; font-weight: 600; }

/* ---------- 12. CTA ---------- */
.cta-section { padding-bottom: 118px; }
.cta-block {
  position: relative;
  text-align: center;
  padding: 74px 44px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(0, 200, 255, .13), rgba(31, 124, 255, .07) 55%, rgba(26, 26, 26, .9));
  border: 1px solid rgba(0, 200, 255, .28);
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: -160px; left: 50%;
  width: 620px; height: 400px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 200, 255, .3), transparent 68%);
  filter: blur(70px);
  pointer-events: none;
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  margin-bottom: .38em;
}
.cta-block > p {
  color: var(--muted);
  max-width: 570px;
  margin: 0 auto 32px;
  font-size: 1.03rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 26px;
}
.cta-note { font-size: .84rem; color: var(--muted-2); margin: 0; }

/* ---------- 13. Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, rgba(3, 8, 20, .6), rgba(2, 5, 14, .95));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 76px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(5, 1fr);
  gap: 40px 28px;
  padding-bottom: 52px;
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: .91rem; max-width: 320px; }

.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  transition: transform .3s var(--ease-out), background .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease);
}
.footer-social a:hover {
  transform: translateY(-3px);
  background: var(--grad);
  color: #04141c;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(0, 200, 255, .32);
}

.footer-col h3 {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a, .muted-sm {
  font-size: .89rem;
  color: var(--muted);
}
.footer-col a { position: relative; }
.footer-col a:hover { color: var(--accent); }
.muted-sm { color: var(--muted-2); font-size: .84rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 30px;
  border-top: 1px solid var(--line);
}
.footer-bottom p { margin: 0; font-size: .86rem; color: var(--muted-2); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-legal a { font-size: .86rem; color: var(--muted-2); }
.footer-legal a:hover { color: var(--accent); }

/* ---------- 14. Başa dön ---------- */
.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 90;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.9);
  transition: opacity .32s var(--ease), transform .32s var(--ease-out), visibility .32s, background .28s var(--ease), color .28s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.to-top:hover {
  background: var(--grad);
  color: #04141c;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(0, 200, 255, .38);
}

/* ---------- 15. Giriş animasyonları ---------- */
[data-animate] {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity .78s var(--ease-out), transform .78s var(--ease-out);
}
[data-animate="fade-up"]    { transform: translateY(38px); }
[data-animate="fade-left"]  { transform: translateX(44px); }
[data-animate="fade-right"] { transform: translateX(-44px); }
[data-animate="zoom-in"]    { transform: scale(.93); }

[data-animate].in-view {
  opacity: 1;
  transform: none;
}

/* ---------- 16. Hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-animate] { opacity: 1 !important; transform: none !important; }
  .faq-a { transition: none; }
}

/* ---------- 17. Yazdırma ---------- */
@media print {
  .site-header, .to-top, .hero-bg, .blog-sidebar, .cta-section { display: none !important; }
  body { background: #fff; color: #000; }
  .card, .post, .faq-item { border: 1px solid #ccc; background: #fff; }
  .post p, .card p { color: #333; }
  .faq-a { max-height: none !important; }
  .faq-a-inner { opacity: 1 !important; transform: none !important; }
}
