/* Kampüs Defteri — tanıtım sayfası
   Renkler uygulamanın temasıyla eşleşir:
   primary #1f5da0 · navy #0f2d5e (logo kitabı) · teal #159c9c (ayraç) · indigo #5c6bc0

   Tema mantığı: açık varsayılan; sistem tercihi (@media) + kullanıcının
   [data-theme] seçimi. Açık seçim, sistem tercihini geçersiz kılar. */

:root {
  --blue: #1f5da0;
  --blue-dark: #164a82;
  --navy: #0f2d5e;
  --teal: #159c9c;
  --indigo: #5c6bc0;

  --bg: #f5f6f8;
  --bg-alt: #edf4fb;
  --surface: #ffffff;
  --text: #1a2230;
  --muted: #5a6472;
  --border: #e2e8f1;
  --heading: #0f2d5e;
  --shadow: 0 1px 2px rgba(15, 45, 94, .04), 0 8px 24px rgba(15, 45, 94, .06);

  --radius: 14px;
  --wrap: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Koyu tema — cihaz/sistem tercihini izler */
@media (prefers-color-scheme: dark) {
  :root {
    --blue: #5b9bd5;
    --blue-dark: #4a86bd;
    --navy: #0b1622;
    --teal: #3bb3b3;
    --indigo: #7986cb;
    --bg: #0f151b;
    --bg-alt: #161d25;
    --surface: #161d25;
    --text: #e6ebf1;
    --muted: #9aa7b4;
    --border: #26313d;
    --heading: #e6ebf1;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(31, 93, 160, .28); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { color: var(--text); padding: 8px 16px; }
.btn-ghost:hover { color: var(--blue); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }

/* ---------- Üst çubuk ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--heading);
}
.brand img { border-radius: 8px; }
.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
  color: var(--muted);
}
.nav a:hover { color: var(--blue); }
/* Dil seçici, nav'ın sağ grubunda; Giriş düğmesi en sağda. */
.nav ~ .lang { margin-left: 0; }

/* Dil seçici (bayrak + ad, açılır liste) */
.lang { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .16s ease, color .16s ease;
}
.lang-btn:hover { border-color: var(--blue); }
.lang-flag { font-size: 16px; line-height: 1; }
.lang-caret { width: 14px; height: 14px; opacity: .55; transition: transform .18s ease; }
.lang.open .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 168px;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 40;
}
.lang-menu[hidden] { display: none; }
.lang-menu li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
}
.lang-menu li:hover { background: var(--bg-alt); }
.lang-menu li[aria-selected="true"] { color: var(--blue); font-weight: 600; }

@media (max-width: 720px) {
  .nav { display: none; }
  /* nav gizliyken sağ grubu (dil + Giriş) sağa yasla. */
  .lang { margin-left: auto; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .header-inner { gap: 10px; }
  .brand { font-size: 15px; }
  .brand img { width: 30px; height: 30px; }
  .lang-name, .lang-caret { display: none; }
  .lang-btn { padding: 7px 9px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
  background:
    radial-gradient(1200px 400px at 80% -10%, color-mix(in srgb, var(--blue) 16%, transparent), transparent 70%),
    radial-gradient(900px 380px at 0% 110%, color-mix(in srgb, var(--teal) 12%, transparent), transparent 70%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--blue) 12%, transparent);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--heading);
}
.lead {
  margin: 0 0 28px;
  font-size: 18px;
  color: var(--muted);
  max-width: 34em;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 34px 0 0;
  padding: 0;
  font-size: 14px;
  color: var(--muted);
}
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

/* Hero görseli — gerçek uygulama ekran alıntısı, hafif açılı */
.hero-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  perspective: 1600px;
}

/* iOS bildirim göstergesi — telefon çerçevesi yok, yalnız bildirim balonu */
.push-mock {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: min(400px, 92%);
  padding: 12px 14px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 13.5px;
  z-index: 2;
}
.push-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--navy);
}
.push-icon img { display: block; }
.push-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.push-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .4px;
  color: var(--muted);
}
.push-top strong { font-weight: 600; }
.push-top em { font-style: normal; }
.push-title { font-weight: 700; color: var(--text); }
.push-text { color: var(--muted); }

/* İki görselin arasında duran el çizimi ok + not.
   v4.0.1: eski mutlak konum (-235px sola taşma) metin sütunuyla ÇAKIŞIYORDU —
   kapsayıcı 1080px'te sütun boşluğu 48px olduğundan taşma her geniş ekranda
   başlık metninin üzerine biniyordu. Artık akış içinde; çakışma imkânsız. */
.hero-arrow {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: center;
  width: 240px;
  color: var(--teal);
  text-align: left;
  pointer-events: none;
}
.hero-arrow svg {
  width: 96px;
  height: auto;
  display: block;
  flex: 0 0 auto;
  /* Ok ucu, yanındaki nota bakar. */
  transform: scaleX(-1) rotate(-8deg);
}
.hero-arrow-note {
  display: block;
  max-width: 135px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal);
  transform: rotate(-2deg);
}

/* Hakkımızda — sade, kısa */
.about-inner { max-width: 720px; }
.about h2 { margin: 0 0 14px; font-size: 28px; color: var(--heading); }
.about p { margin: 0 0 12px; color: var(--muted); font-size: 16.5px; line-height: 1.65; }
.shot {
  margin: 0;
  width: 100%;
  max-width: 520px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 26px 52px rgba(8, 22, 40, .28), 0 8px 20px rgba(8, 22, 40, .16);
  transform: rotateY(-9deg) rotateX(3deg) rotate(.4deg);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}
.shot:hover { transform: rotateY(-3deg) rotateX(1deg); }
.shot-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.shot-bar i:first-child { background: var(--blue); }
.shot img { display: block; width: 100%; height: auto; }

@media (max-width: 860px) {
  /* Tek sütunda görsellerin arası daralır — ok/not gizlenir. */
  .hero-arrow { display: none; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; perspective: none; }
  .shot { transform: none; max-width: 460px; }
}
@media (prefers-reduced-motion: reduce) {
  .shot { transform: none; }
}

/* ---------- Bölümler ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 780px; margin: 0 auto 46px; text-align: center; }
.section-head h2, .why-copy h2, .cta h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 34px);
  letter-spacing: -.01em;
  color: var(--heading);
}
.section-head p { margin: 0; font-size: 17px; color: var(--muted); }

/* Geniş ekranda başlıklar tek satırda kalsın (mobilde doğal sarar). */
@media (min-width: 861px) {
  .section-head h2, .section-head p, .cta h2 { white-space: nowrap; }
}

/* Özellik kartları */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}
.feature:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--blue) 40%, var(--border)); }
.feature h3 { margin: 16px 0 8px; font-size: 18px; color: var(--text); }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.ic svg { width: 24px; height: 24px; }
.ic-blue { background: color-mix(in srgb, var(--blue) 14%, transparent); color: var(--blue); }
.ic-teal { background: color-mix(in srgb, var(--teal) 16%, transparent); color: var(--teal); }
.ic-indigo { background: color-mix(in srgb, var(--indigo) 16%, transparent); color: var(--indigo); }

@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

/* Neden bölümü */
.why-inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.why-copy p { color: var(--muted); font-size: 17px; margin: 0 0 24px; }
.why-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
}
.why-list li {
  padding-left: 26px;
  position: relative;
}
.why-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--teal) 22%, transparent);
  box-shadow: inset 0 0 0 2px var(--teal);
}
.why-list strong { display: block; color: var(--text); font-size: 15px; }
.why-list span { color: var(--muted); font-size: 14px; }

@media (max-width: 780px) {
  .why-inner { grid-template-columns: 1fr; gap: 32px; }
  .why-list { grid-template-columns: 1fr; }
}

/* Kapanış CTA */
.cta {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--navy), var(--blue-dark));
  color: #fff;
  text-align: center;
}
.cta-inner { max-width: 620px; margin: 0 auto; }
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { margin: 0 0 26px; color: rgba(255, 255, 255, .82); font-size: 17px; }

/* Alt bilgi */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.foot-note { margin: 0; color: var(--muted); font-size: 15px; }
.foot-links { margin-left: auto; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 15px; }
.foot-links a:hover { color: var(--blue); }
.foot-company {
  max-width: var(--wrap);
  margin: 22px auto 0;
  padding: 0 24px;
  color: var(--text);
  font-size: 15px;
}
.foot-company strong { color: var(--blue); }
.copyright {
  max-width: var(--wrap);
  margin: 14px auto 0;
  padding: 18px 24px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 560px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .foot-links { margin-left: 0; }
}

/* ---------- Onay (consent) popup — sağ altta kayarak açılır ---------- */
.consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: min(380px, calc(100vw - 32px));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 14px 44px rgba(8, 22, 40, .28);
  padding: 20px 20px 18px;
  transform: translateY(24px);
  opacity: 0;
  transition: transform .38s cubic-bezier(.22, 1, .36, 1), opacity .38s ease;
}
.consent.is-open { transform: none; opacity: 1; }
.consent[hidden] { display: none; }
.consent-title { margin: 0 0 8px; font-size: 17px; color: var(--heading); }
.consent-text { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.consent-text a, .consent-policy { color: var(--teal); font-weight: 600; }
.consent-text a:hover, .consent-policy:hover { text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; }
.consent-actions .btn { flex: 1; padding: 10px 14px; font-size: 14px; }
.consent-policy { display: inline-block; margin-top: 12px; font-size: 13px; }

@media (max-width: 480px) {
  .consent { right: 12px; left: 12px; bottom: 12px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .consent { transition: opacity .2s ease; transform: none; }
}

/* ---------- Gizlilik modalı ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 32, .55);
  backdrop-filter: blur(2px);
}
.modal-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px 26px;
}
.modal-card h2 { margin: 0 0 12px; font-size: 20px; color: var(--heading); }
/* KVKK aydınlatma metni — daha geniş kart ve ara başlıklar */
.modal-card-wide { width: min(640px, 100%); }
.modal-card h3 { margin: 16px 0 6px; font-size: 15px; color: var(--heading); }
.modal-card p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.modal-card ul { margin: 0 0 12px; padding-left: 20px; color: var(--muted); font-size: 14px; }
.modal-card li { margin-bottom: 6px; }
.modal-card a { color: var(--teal); font-weight: 600; }
.modal-note { font-size: 14px; }
.modal-close {
  position: absolute;
  top: 12px; right: 14px;
  width: 32px; height: 32px;
  border: none; border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 22px; line-height: 1;
  cursor: pointer;
}
.modal-close:hover { background: var(--bg-alt); color: var(--text); }

/* =====================================================================
   v5.0 (kullanıcı isteği): modern etkileşimler — imleç-tepkili kartlar,
   scroll-reveal, hero aurora, manyetik butonlar. Tümü prefers-reduced-motion
   duyarlı; JS çalışmazsa hiçbir içerik gizli kalmaz (reveal sınıfı yalnız JS
   tarafından eklenir). Özgün tasarım — Kampüs Defteri paletiyle.
   ===================================================================== */

/* --- Hero aurora: yumuşak, yavaş süzülen renk bulutları --- */
.hero::before {
  content: "";
  position: absolute;
  inset: -25% -10% auto -10%;
  height: 130%;
  background:
    radial-gradient(620px 320px at 18% 22%, color-mix(in srgb, var(--teal) 16%, transparent), transparent 60%),
    radial-gradient(720px 340px at 82% 28%, color-mix(in srgb, var(--indigo) 16%, transparent), transparent 60%);
  filter: blur(6px);
  animation: auroraDrift 20s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }
@keyframes auroraDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

/* Bildirim balonu — hafifçe süzülür (dikkat çeker, rahatsız etmez) */
.push-mock { animation: pushFloat 6s ease-in-out infinite; }
@keyframes pushFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* --- İmleç-tepkili özellik kartları: spotlight (--mx/--my) + 3B tilt (--rx/--ry) --- */
.feature.interactive {
  position: relative;
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .2s ease, box-shadow .28s ease, border-color .28s ease;
  will-change: transform;
}
/* İçerik spotlight'ın ÜSTÜNDE kalır. */
.feature.interactive > * { position: relative; z-index: 1; }
/* İmleci izleyen ışık huzmesi. */
.feature.interactive::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%),
              color-mix(in srgb, var(--blue) 20%, transparent), transparent 60%);
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
  z-index: 0;
}
.feature.interactive:hover {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px);
  box-shadow: 0 20px 44px rgba(15, 45, 94, .16), 0 6px 14px rgba(15, 45, 94, .08);
  border-color: color-mix(in srgb, var(--blue) 52%, var(--border));
}
.feature.interactive:hover::after { opacity: 1; }
/* İkon, kart eğildikçe hafifçe öne çıkar (derinlik hissi). */
.feature.interactive:hover .ic { transform: translateZ(26px) scale(1.06); }
.ic { transition: transform .2s ease; }

/* Neden-listesi maddeleri — imleçle hafif kalkar. */
.why-list li { transition: transform .16s ease; }
@media (hover: hover) and (pointer: fine) {
  .why-list li:hover { transform: translateX(3px); }
  .why-list li:hover::before { box-shadow: inset 0 0 0 2px var(--teal), 0 0 0 6px color-mix(in srgb, var(--teal) 16%, transparent); }
}

/* --- Scroll-reveal: görünüme girince yumuşak açılış (JS ekler) --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity .62s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms),
    transform .62s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* --- Manyetik buton: JS imleçle inline transform verir; yumuşak dönüş --- */
.btn-primary, .btn-light { will-change: transform; }

/* --- Ortalı hero (kullanıcı isteği): üst barın hemen altındaki metin ORTALI;
       bildirim balonu sağda değil, metnin altında ortada süzülür. --- */
.hero-center .hero-inner {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
  gap: 30px;
}
.hero-center .eyebrow { margin-inline: auto; }
.hero-center .lead { margin-left: auto; margin-right: auto; }
.hero-center .hero-cta { justify-content: center; }
.hero-center .hero-badges { justify-content: center; }
.hero-center .hero-art { order: 0; width: 100%; }

/* --- Kayan modül şeridi (sonsuz döngü, imleçle durur) --- */
.marquee-wrap {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  animation: marqueeMove 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeMove { to { transform: translateX(-50%); } }
.chip {
  flex: none;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

/* --- Rakam (sayaç) şeridi --- */
.stats-band { background: var(--bg-alt); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  text-align: center;
  padding: 26px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease;
}
.stat:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--blue) 40%, var(--border)); }
.stat-num {
  display: block;
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label { display: block; margin-top: 8px; color: var(--muted); font-size: 14.5px; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* --- Nasıl çalışır: 4 adım --- */
.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  position: relative;
  padding: 26px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease;
}
.step:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--teal) 45%, var(--border)); }
.step-no {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--blue) 14%, transparent);
  color: var(--blue);
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 17px; color: var(--text); }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .push-mock { animation: none; }
  .feature.interactive { transform: none; transition: box-shadow .2s ease, border-color .2s ease; }
  .feature.interactive:hover { transform: translateY(-3px); }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

/* =====================================================================
   v5.1: entegrasyon diyagramı · hedefli duyuru · web+mobil vitrin +
   üst bar "Demo İste". Akan noktalı SVG diyagramlar; özgün içerik.
   ===================================================================== */

.btn-sm { padding: 8px 15px; font-size: 14px; }

/* Coğrafi rozet ("Yalnızca Türkiye") */
.geo-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--teal) 40%, var(--border));
  background: color-mix(in srgb, var(--teal) 10%, transparent);
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
}
.geo-badge svg { width: 15px; height: 15px; }

/* Ortak: akan-noktalı diyagram düğüm/çizgileri */
.flow-line { stroke: color-mix(in srgb, var(--blue) 35%, var(--border)); stroke-width: 2; fill: none; }
.flow-node circle { fill: var(--surface); stroke: var(--border); stroke-width: 1.5; }
.flow-emoji { font-size: 24px; text-anchor: middle; dominant-baseline: central; }
.flow-hub { fill: var(--blue); }
.flow-hub-accent { fill: var(--blue); }
.flow-hub-t1, .flow-hub-t2 { fill: #fff; text-anchor: middle; font-weight: 700; font-size: 13px; }
.fan-label { fill: var(--muted); font-size: 12px; text-anchor: middle; font-weight: 600; }
.flow-svg, .fan-svg { width: 100%; height: auto; }
/* SVG fill/stroke/stop-color var() öznitelikte çözülmez → CSS ile veriyoruz. */
.fd-blue { fill: var(--blue); }
.fd-teal { fill: var(--teal); }
.fd-indigo { fill: var(--indigo); }
#kdGlow stop { stop-color: var(--blue); }
#sparkFill stop { stop-color: var(--teal); }
.spark-line { stroke: var(--teal); }

/* Entegrasyon bölümü */
.flow-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.flow-copy h2 { margin: 0 0 20px; font-size: clamp(26px, 3.2vw, 32px); color: var(--heading); letter-spacing: -.01em; }
.flow-steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.flow-steps li { display: flex; gap: 14px; align-items: flex-start; }
.fs-no {
  flex: none;
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--blue) 14%, transparent);
  color: var(--blue);
  font-weight: 800; font-size: 14px;
}
.flow-steps strong { display: block; color: var(--text); font-size: 15.5px; }
.flow-steps span { color: var(--muted); font-size: 14.5px; }
.flow-lock { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--teal); font-size: 14px; font-weight: 600; }
.flow-lock svg { width: 17px; height: 17px; flex: none; }

/* Hedefli duyuru (fan-out) bölümü */
.fan-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.fan-copy h2 { margin: 0 0 12px; font-size: clamp(26px, 3.2vw, 32px); color: var(--heading); letter-spacing: -.01em; }
.fan-sub { margin: 0 0 22px; color: var(--muted); font-size: 16.5px; }
.fan-preview { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); padding: 14px; box-shadow: var(--shadow); margin-bottom: 18px; }
.fan-preview-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 11px; letter-spacing: .5px; color: var(--muted); font-weight: 700; }
.fan-preview-aud { margin-left: auto; color: var(--blue); }
.fan-dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px color-mix(in srgb, #16a34a 20%, transparent); }
.fan-preview .push-mock { width: 100%; animation: none; box-shadow: none; border: 1px solid var(--border); }

/* Web + mobil vitrin */
.web-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.web-eyebrow { margin-bottom: 12px; }
.web-copy h2 { margin: 0 0 16px; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.12; letter-spacing: -.02em; color: var(--heading); }
.web-lead { margin-bottom: 22px; }
.web-checks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.web-checks li { display: flex; align-items: center; gap: 11px; color: var(--text); font-size: 16px; }
.web-checks svg { width: 22px; height: 22px; flex: none; color: #16a34a; padding: 3px; border-radius: 50%; background: color-mix(in srgb, #16a34a 14%, transparent); }
.web-note { margin: 14px 0 0; color: var(--muted); font-size: 13.5px; }

/* Tarayıcı maketi + demo panel */
.browser { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(8,22,40,.22), 0 8px 20px rgba(8,22,40,.12); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.browser-bar i:nth-child(1) { background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-url { margin-left: 12px; padding: 3px 12px; border-radius: 7px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 12.5px; }
.browser-body { padding: 20px 22px 22px; }
.bpanel-top { display: flex; align-items: center; justify-content: space-between; }
.bpanel-label { color: var(--muted); font-size: 11px; letter-spacing: .5px; text-transform: uppercase; font-weight: 700; }
.bpanel-badge { color: #16a34a; background: color-mix(in srgb, #16a34a 14%, transparent); border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 700; }
.bpanel-value { margin: 6px 0 10px; font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--heading); letter-spacing: -.02em; }
.bpanel-spark { width: 100%; height: 90px; display: block; }
.bpanel-seg { display: flex; gap: 3px; height: 10px; margin-top: 16px; border-radius: 999px; overflow: hidden; }
.bpanel-seg span:nth-child(1) { background: var(--teal); }
.bpanel-seg span:nth-child(2) { background: #f0a020; }
.bpanel-seg span:nth-child(3) { background: #d9534f; }
.bpanel-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; color: var(--muted); font-size: 13px; }
.bpanel-legend span { display: inline-flex; align-items: center; gap: 6px; }
.bpanel-legend b { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.lg-a { background: var(--teal); }
.lg-b { background: #f0a020; }
.lg-c { background: #d9534f; }
.web-demo-note { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 12.5px; }

@media (max-width: 860px) {
  .flow-inner, .fan-inner, .web-inner { grid-template-columns: 1fr; gap: 32px; }
  .fan-art { order: -1; }
  .flow-art { order: 1; }
  .web-art { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  .flow-dot { display: none; }
}

/* =====================================================================
   v5.2 (kullanıcı isteği): hero düzeni · zarif üst bar · logolu saydam
   diyagram göbeği · çok sütunlu footer.
   ===================================================================== */

/* --- Üst bar: daha saydam zemin, ORTALI nav, hap (pill) butonlar --- */
.site-header {
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.nav { margin: 0; justify-self: center; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.btn-pill { border-radius: 999px; }
.btn-ghost.btn-pill {
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 50%, transparent);
}
.btn-ghost.btn-pill:hover { border-color: var(--blue); color: var(--blue); }
.btn-demo {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border: 1px solid color-mix(in srgb, var(--blue) 45%, var(--border));
  background: color-mix(in srgb, var(--blue) 10%, transparent);
  color: var(--blue);
  font-weight: 600;
}
.btn-demo:hover { background: color-mix(in srgb, var(--blue) 18%, transparent); border-color: var(--blue); transform: translateY(-1px); }
.demo-play { font-size: 9px; line-height: 1; }
.lang-btn { background: color-mix(in srgb, var(--surface) 50%, transparent); }
@media (max-width: 720px) {
  .header-inner { grid-template-columns: auto 1fr; }
}
@media (max-width: 420px) {
  .btn-ghost.btn-pill { display: none; } /* dar ekranda yalnız Demo İste + dil kalır */
}

/* --- Hero: metin solda; sağ sütunda bildirim (üstte) + butonlar + rozetler --- */
.hero-inner { align-items: center; }
.hero-art {
  align-self: start;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
}
.hero-art .push-mock { width: 100%; }
.hero-art .hero-cta,
.hero-art .hero-badges { margin: 0; }
@media (max-width: 860px) {
  .hero .hero-art { order: 0; margin: 0 auto; align-items: center; }
  .hero-art .hero-cta, .hero-art .hero-badges { justify-content: center; }
}

/* --- Diyagram göbeği: küçük düğümler gibi saydam yüzey + logo --- */
.flow-hub { fill: var(--surface); stroke: var(--border); stroke-width: 1.5; }

/* --- Çok sütunlu footer --- */
.site-footer { padding: 56px 0 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.foot-brand-col .brand { margin-bottom: 14px; }
.foot-tagline { margin: 0 0 16px; max-width: 34ch; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.foot-col h3 { margin: 0 0 14px; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--heading); }
.foot-col a { display: block; margin-bottom: 10px; color: var(--muted); font-size: 14.5px; }
.foot-col a:hover { color: var(--blue); }
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--border);
}
.foot-bottom .copyright { margin: 0; padding: 0; border: 0; color: var(--muted); font-size: 13px; }
.foot-madein { margin: 0; color: var(--teal); font-size: 13px; font-weight: 600; }
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   v5.2.1 (kullanıcı bildirimi): sağ sütun rozetleri DİKEY dizilir (dar
   sütunda alt satıra kırılmasın) + kayan şerit hero'dan ayrılır/ortalanır.
   ===================================================================== */
.hero-art .hero-badges {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 12px;
}
.hero-art .hero-badges li { white-space: nowrap; }
@media (max-width: 860px) {
  .hero-art .hero-badges { align-items: center; }
}
/* Kayan şerit: hero ile arasına nefes payı + dikey ortalı, biraz daha yüksek bant. */
.marquee-wrap { padding: 24px 0; margin-top: 12px; }

/* =====================================================================
   v5.2.2 (kullanıcı isteği): kayan şerit artık HERO'nun içinde, en altında
   ve yapışık. Çözünürlük/zoom fark etmeksizin hero'nun dibinde durur;
   hero arka planı ile şerit arasında boşluk kalmaz.
   ===================================================================== */
.hero { padding-bottom: 0; }
.hero .marquee-wrap {
  position: relative;
  z-index: 1;
  margin-top: 48px;   /* hero içeriği ile şerit arası nefes payı (hero arka planında) */
}

/* =====================================================================
   v5.2.3 (kullanıcı kararı): hero İLK AÇILIŞTA TAM EKRAN — kayan şerit
   ekranın kesin dibinde, "Hakkımızda" fold'un altında (aşağı kaydırınca).
   Kısa ekranda şerit konumu önceliklidir (içerik kırpılabilir). Üst bar
   64px + 1px kenar = 65px düşülür.
   ===================================================================== */
.hero {
  height: calc(100vh - 65px);
  height: calc(100dvh - 65px);
  display: flex;
  flex-direction: column;
  padding-top: 40px;
  padding-bottom: 0;
  overflow: hidden;
}
.hero .hero-inner { flex: 1 1 auto; align-content: center; min-height: 0; }
.hero .marquee-wrap { margin-top: 0; flex: none; }
@media (max-width: 860px) {
  /* Mobilde dikey yığıldığından tam-ekran içeriği kırpar → büyümeye izin ver. */
  .hero { height: auto; min-height: calc(100vh - 65px); min-height: calc(100dvh - 65px); }
}

/* v5.2.4 (kullanıcı isteği): hero içeriği dikeyde ORTALANMASIN — üstten hizalı,
   yukarıda dursun. Kayan şerit hero'nun dibinde kalmaya devam eder (v5.2.3 korunur). */
.hero { padding-top: 64px; }
.hero .hero-inner { flex: 1 1 auto; align-content: start; align-items: start; }

/* =====================================================================
   v5.2.5 (kullanıcı istekleri):
   (a) Anchor konumu — "Hakkımızda"ya gidilince kayan şerit ÜST BARIN TAM
       ALTINDA, boşluksuz durur (şerit yüksekliği JS ile ölçülür).
   (b) Üst bar ve kapanış CTA'sındaki Giriş + Demo İste butonları, DİL SEÇİM
       butonuyla BİREBİR aynı yükseklik ve punto (14px / 7px dolgu / 1px kenar).
   ===================================================================== */

/* (a) Bölüm anchor'ları üst barın altında başlar; Hakkımızda ek olarak şerit kadar. */
:root { --bar-h: 65px; --serit-h: 86px; }
#ozellikler, #neden, #entegrasyon, #iletisim { scroll-margin-top: var(--bar-h); }
#hakkimizda { scroll-margin-top: calc(var(--bar-h) + var(--serit-h)); }

/* (b) Dil butonuyla eşit ölçü — .lang-btn: font 14px/600, padding 7px 10px, 1px kenar. */
.header-actions .btn,
.cta-actions .btn {
  font-size: 14px;
  font-weight: 600;
  /* Dil butonuyla BİREBİR aynı yükseklik: içerik satırı 17px (button'ın normal
     line-height'ı) + 7px dolgu + 1px kenar = 33px. */
  line-height: 17px;
  padding: 7px 14px;
  border-width: 1px;
  border-style: solid;
}
.header-actions .btn-demo .demo-play,
.cta-actions .btn-demo-light .demo-play { font-size: 9px; }

/* Kapanış CTA'sı: iki buton yan yana, ortalı. */
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-light { border-color: transparent; }
/* CTA koyu zemininde Demo İste — beyaz kenarlı saydam (Giriş'in yanında dengeli). */
.btn-demo-light {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .10);
  color: #fff;
}
.btn-demo-light:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }
.cta-actions .btn-light { border-radius: 999px; }
/* Erişilebilirlik: hareket azaltma tercihinde yumuşak kaydırma kapanır. */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* v5.2.6: hero taşması `clip` ile kırpılır — `hidden`den farkı, kaydırılabilir bir
   kap YARATMAMASI; anchor'a gidilirken hero'nun içinin kazara kaymasını imkânsız kılar. */
.hero { overflow: clip; }

/* v5.2.7 (kullanıcı istekleri):
   (a) "Rakamlarla" şeridi artık 3 kart (Platform kartı kaldırıldı).
   (b) Marka bağı (#top) sayfanın TAM EN ÜSTÜNE döner: hedef <main> üst barın
       hemen altında başladığından, bar yüksekliği kadar scroll-margin verilir →
       kaydırma konumu 0 olur ve sayfa ilk açılıştaki görünüme döner. */
.stats-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .stats-grid { grid-template-columns: 1fr; } }
#top { scroll-margin-top: var(--bar-h); }
