/* =====================================================================
   TeknoPusula — tasarım sistemi
   Koyu, derinlikli, cam efektli arayüz. Tüm renkler token olarak tanımlı.
   ===================================================================== */
:root {
  --bg: #050816;
  --bg-2: #0a1028;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --surface-solid: #0e1533;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #eef2ff;
  --text-2: #a8b1d6;
  --text-3: #6b75a0;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --grad: linear-gradient(120deg, #22d3ee 0%, #3b82f6 35%, #8b5cf6 70%, #ec4899 100%);
  --grad-soft: linear-gradient(135deg, rgba(34, 211, 238, .18), rgba(139, 92, 246, .18));
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
  --glow: 0 0 0 1px rgba(255, 255, 255, .06), 0 20px 60px -10px rgba(59, 130, 246, .35);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", var(--font);
  --nav-h: 72px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(139, 92, 246, .45); }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.gradient-text {
  background: var(--grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 6s linear infinite;
}
@keyframes gradShift { to { background-position: 200% center; } }
.muted { color: var(--text-2); }
.num { font-family: var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* ---------- Arka plan ---------- */
.bg-aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.bg-aurora span {
  position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  filter: blur(120px); opacity: .28; animation: drift 28s ease-in-out infinite alternate;
}
.bg-aurora span:nth-child(1) { background: #1d4ed8; top: -25vmax; left: -15vmax; }
.bg-aurora span:nth-child(2) { background: #7c3aed; top: 10vmax; right: -25vmax; animation-delay: -8s; }
.bg-aurora span:nth-child(3) { background: #0891b2; bottom: -30vmax; left: 20vmax; animation-delay: -16s; opacity: .2; }
@keyframes drift { 50% { transform: translate(8vmax, 6vmax) scale(1.1); } 100% { transform: translate(-6vmax, 10vmax) scale(.95); } }
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- Navigasyon ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(5, 8, 22, .55); border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 8px 24px -6px rgba(139, 92, 246, .7); }
.brand-mark svg { width: 22px; height: 22px; color: #fff; animation: spinSlow 14s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--text-2); font-weight: 500; font-size: .95rem; transition: .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-cta { display: flex; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: var(--surface-2); color: var(--text); font-weight: 600; cursor: pointer;
  transition: transform .2s, box-shadow .3s, background .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.1); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  border: 0; background: var(--grad); background-size: 200% auto; color: #fff;
  box-shadow: 0 10px 30px -8px rgba(139, 92, 246, .8), inset 0 1px 0 rgba(255,255,255,.3);
  animation: gradShift 5s linear infinite;
}
.btn-primary:hover { box-shadow: 0 16px 40px -8px rgba(139, 92, 246, .95), inset 0 1px 0 rgba(255,255,255,.3); background: var(--grad); background-size: 200% auto; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-sm { padding: 8px 14px; font-size: .88rem; }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-danger:hover { background: rgba(248, 113, 113, .15); border-color: rgba(248,113,113,.5); color: var(--red); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Kart ---------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.card-glow::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: 0; transition: opacity .4s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.card-glow:hover::before { opacity: 1; }
.spotlight { --mx: 50%; --my: 50%; }
.spotlight::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(139, 92, 246, .14), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.spotlight:hover::after { opacity: 1; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); font-size: .85rem; color: var(--text-2); font-weight: 500;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); } 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

/* ---------- Bölümler ---------- */
section { position: relative; }
.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .lead { margin: 0 auto; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -.03em; line-height: 1.08; margin: 0 0 16px; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.2rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-2); max-width: 640px; }

/* ---------- Hero ---------- */
.hero { min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; padding: 60px 0 100px; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero h1 { margin: 22px 0 22px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-stats { display: flex; gap: 40px; margin-top: 52px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; letter-spacing: -.03em; }
.hero-stats span { color: var(--text-3); font-size: .9rem; }
.hero-visual { position: relative; perspective: 1200px; }
.hero-card { transform-style: preserve-3d; transition: transform .25s ease-out; padding: 26px; box-shadow: var(--shadow), var(--glow); background: linear-gradient(160deg, rgba(20, 28, 64, .88), rgba(10, 14, 36, .88)); }
.hc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 10px; }
.hc-label { font-size: .78rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .12em; }
.hc-total { font-size: clamp(2.2rem, 4vw, 3.1rem); font-weight: 700; margin: 4px 0 18px; }
.hc-bars { display: grid; gap: 14px; }
.hc-bar { display: grid; grid-template-columns: 112px 1fr auto; gap: 12px; align-items: center; font-size: .88rem; }
.hc-bar .track { height: 10px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.hc-bar .fill { height: 100%; border-radius: 99px; width: 0; transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.hc-foot { display: flex; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--border); font-size: .85rem; color: var(--text-2); align-items: center; }
.float-chip { position: absolute; padding: 10px 16px; border-radius: 14px; font-size: .85rem; font-weight: 600; background: rgba(14, 21, 51, .94); border: 1px solid var(--border-strong); box-shadow: var(--shadow); animation: floaty 6s ease-in-out infinite; z-index: 2; }
.float-chip.c1 { top: -22px; right: 30px; }
.float-chip.c2 { bottom: -20px; left: -26px; animation-delay: -3s; }
@keyframes floaty { 50% { translate: 0 -12px; } }

.marquee { border-block: 1px solid var(--border); overflow: hidden; padding: 18px 0; background: rgba(255,255,255,.015); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 60s linear infinite; }
.marquee-track span { color: var(--text-3); font-weight: 600; font-family: var(--font-display); font-size: 1.05rem; white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: "✦"; color: var(--violet); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Senaryo kartları ---------- */
.scenarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scenario { padding: 34px 30px; cursor: pointer; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s; overflow: hidden; display: flex; flex-direction: column; text-align: left; }
.scenario:hover { transform: translateY(-8px); border-color: var(--border-strong); }
.scenario .icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; background: var(--grad-soft); border: 1px solid var(--border-strong); color: var(--cyan); }
.scenario .icon svg { width: 28px; height: 28px; }
.scenario p { color: var(--text-2); flex: 1; margin: 0; }
.scenario .go { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; color: var(--cyan); }
.scenario .go svg { width: 18px; transition: transform .3s; }
.scenario:hover .go svg { transform: translateX(6px); }
.scenario .step-n { position: absolute; top: 18px; right: 24px; font-family: var(--font-display); font-size: 4.5rem; font-weight: 700; color: rgba(255,255,255,.05); line-height: 1; }

/* ---------- Teşvik bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento .card { padding: 26px; transition: transform .3s; overflow: hidden; }
.bento .card:hover { transform: translateY(-4px); }
.bento .big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(160deg, rgba(59, 130, 246, .16), rgba(139, 92, 246, .08)); }
.bento .wide { grid-column: span 2; }
.t-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--border); margin-bottom: 16px; color: var(--cyan); }
.t-icon svg { width: 22px; height: 22px; }
.t-vurgu { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; letter-spacing: -.04em; }
.bento .big .t-vurgu { font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: 1; }
.t-dayanak { font-size: .72rem; color: var(--text-3); letter-spacing: .06em; text-transform: uppercase; }
.bento p { color: var(--text-2); font-size: .95rem; margin: 6px 0 0; }
.bento h3 { margin-bottom: 4px; }

/* ---------- Harita önizleme ---------- */
.map-teaser { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.map-frame { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow); aspect-ratio: 16 / 10; background: var(--bg-2); }
.map-frame #mini-map { position: absolute; inset: 0; }
.map-frame .overlay-link { position: absolute; inset: 0; z-index: 500; display: flex; align-items: flex-end; padding: 22px; background: linear-gradient(180deg, transparent 55%, rgba(5,8,22,.85)); }
.list-check { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 12px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.list-check li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; background: rgba(52,211,153,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; margin-top: 2px; }

/* ---------- Yolculuk (timeline) ---------- */
.journey { position: relative; display: grid; max-width: 920px; margin: 0 auto; }
.journey::before { content: ""; position: absolute; left: 31px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--cyan), var(--violet), var(--pink)); opacity: .5; }
.j-step { display: grid; grid-template-columns: 64px 1fr; gap: 26px; padding: 14px 0; }
.j-dot { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; background: var(--bg); border: 2px solid var(--border-strong); position: relative; z-index: 1; transition: .6s; }
.j-step.in .j-dot { border-color: transparent; background: var(--grad); box-shadow: 0 0 30px rgba(139, 92, 246, .5); }
.j-step .card { padding: 22px 26px; }
.j-step h3 { margin-bottom: 6px; }
.j-step p { margin: 0; color: var(--text-2); }
.j-meta { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* ---------- SSS ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 0 24px; transition: background .3s; }
.faq details[open] { background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--cyan); transition: transform .3s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--text-2); }

/* ---------- CTA ---------- */
.cta-band { border-radius: 32px; padding: 70px 50px; text-align: center; position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(59, 130, 246, .25), rgba(139, 92, 246, .25) 50%, rgba(236, 72, 153, .2)); border: 1px solid var(--border-strong); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(34,211,238,.35), transparent 40%), radial-gradient(circle at 80% 80%, rgba(236,72,153,.3), transparent 40%); }
.cta-band > * { position: relative; }
.cta-band .lead { margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 60px 0 40px; margin-top: 60px; color: var(--text-2); font-size: .92rem; }
.footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: var(--text); font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--text); }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 30px; border-top: 1px solid var(--border); color: var(--text-3); font-size: .85rem; flex-wrap: wrap; gap: 10px; }

/* ---------- Animasyonlar ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; } .reveal[data-delay="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Form ---------- */
.field { display: grid; gap: 7px; align-content: start; }
.field label, .field .lbl { font-size: .85rem; font-weight: 600; color: var(--text-2); }
.input, .select {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: rgba(5, 8, 22, .6); color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 92, 246, .2); }
.input:disabled { opacity: .5; }
textarea.input { resize: vertical; min-height: 110px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8b1d6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.select option { background: var(--surface-solid); }
.input-money { position: relative; }
.input-money .input { padding-right: 44px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.input-money::after { content: "₺"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-weight: 600; pointer-events: none; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; font-size: .92rem; }
.check input { appearance: none; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 7px; border: 1.5px solid var(--border-strong); background: rgba(5,8,22,.6); display: grid; place-items: center; cursor: pointer; transition: .2s; margin: 0; }
.check input:checked { background: var(--violet); border-color: transparent; }
.check input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }

/* ---------- Sayfa başlığı ---------- */
.page-hero { padding: 80px 0 40px; text-align: center; }
.page-hero .lead { margin: 0 auto; }

/* ---------- Simülatör ---------- */
.sim-shell { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 60px; }
.sim-shell > * { min-width: 0; }
.result-split > * { min-width: 0; }
.sim-steps { position: sticky; top: calc(var(--nav-h) + 24px); padding: 22px; }
.sim-steps ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; counter-reset: s; }
.sim-steps li { counter-increment: s; display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; color: var(--text-3); font-weight: 500; transition: .3s; }
.sim-steps li::before { content: counter(s); width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--border-strong); font-weight: 700; font-size: .9rem; transition: .3s; }
.sim-steps li.active { color: var(--text); background: var(--surface-2); }
.sim-steps li.active::before { background: var(--grad); border-color: transparent; color: #fff; }
.sim-steps li.done { color: var(--text-2); }
.sim-steps li.done::before { content: "✓"; background: rgba(52, 211, 153, .15); border-color: var(--green); color: var(--green); }
.sim-panel { display: none; animation: panelIn .5s cubic-bezier(.2,.8,.2,1); }
.sim-panel.active { display: block; }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } }
.sim-panel > .card { padding: 34px; }
.sim-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.scenario-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scenario-pick .scenario { padding: 26px 22px; font: inherit; color: inherit; }
.scenario-pick .scenario.selected { border-color: var(--violet); background: rgba(139, 92, 246, .12); box-shadow: 0 0 0 4px rgba(139, 92, 246, .15); }

.p-table { width: 100%; border-collapse: separate; border-spacing: 0 10px; }
.p-table th { text-align: left; font-size: .78rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; padding: 0 10px; }
.p-table td { padding: 0 6px; vertical-align: middle; }
.p-row { animation: panelIn .35s; }
.icon-btn { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; cursor: pointer; color: var(--text-2); transition: .2s; }
.icon-btn:hover { color: var(--red); border-color: rgba(248, 113, 113, .5); }
.icon-btn svg { width: 18px; height: 18px; }
.p-summary { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; padding: 16px 20px; border-radius: 14px; background: var(--surface); border: 1px dashed var(--border-strong); flex-wrap: wrap; align-items: center; }

.dropzone {
  /* <label> öğesi: blok olmazsa çerçeve satır satır bölünür */
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 100%; min-height: 190px; box-sizing: border-box; overflow: hidden;
  border: 2px dashed var(--border-strong); border-radius: 20px; padding: 36px 24px; text-align: center; cursor: pointer;
  transition: border-color .3s, background .3s; background: rgba(255,255,255,.02); position: relative;
}
.dropzone svg { transition: transform .3s; }
.dropzone:hover svg, .dropzone.drag svg { transform: translateY(-4px); }
.dropzone .muted { display: block; font-size: .9rem; }
.dropzone:hover, .dropzone.drag { border-color: var(--violet); background: rgba(139, 92, 246, .08); }
.dropzone svg { width: 46px; height: 46px; color: var(--violet); margin: 0 auto 10px; display: block; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.file-list { display: grid; gap: 8px; margin-top: 18px; }
.file-item { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); animation: panelIn .35s; }
.file-item.err { border-color: rgba(248, 113, 113, .4); }
.file-item.warn { border-color: rgba(251, 191, 36, .4); }
.file-item .fi-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(52, 211, 153, .12); color: var(--green); font-size: .68rem; font-weight: 800; }
.file-item.err .fi-icon { background: rgba(248,113,113,.12); color: var(--red); }
.file-item.warn .fi-icon { background: rgba(251,191,36,.12); color: var(--amber); }
.file-item .fi-name { min-width: 0; }
.file-item .fi-name strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item small { color: var(--text-3); display: block; }
.file-item .input { width: 160px; padding: 8px 12px; text-align: right; font-family: var(--font-display); font-weight: 600; }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; margin-top: 14px; }
.months span { height: 34px; border-radius: 8px; background: rgba(255,255,255,.05); display: grid; place-items: center; font-size: .72rem; color: var(--text-3); font-weight: 600; transition: .4s; }
.months span.ok { background: rgba(52, 211, 153, .18); color: var(--green); }
.alert { padding: 14px 18px; border-radius: 12px; font-size: .92rem; display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; }
.alert-warn { background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .3); color: #fde68a; }
.alert-info { background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .25); color: #a5f3fc; }
.alert-err { background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .3); color: #fecaca; }
.alert-ok { background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .3); color: #a7f3d0; }
.link-btn { font-size: .9rem; color: var(--cyan); cursor: pointer; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 4px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stack { display: grid; gap: 18px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }

/* Sonuç */
.result-hero { text-align: center; padding: 50px 30px; overflow: hidden; background: linear-gradient(160deg, rgba(59,130,246,.18), rgba(139,92,246,.12) 60%, rgba(236,72,153,.1)); }
.result-hero .label { color: var(--text-2); font-weight: 500; }
.result-total { font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 700; line-height: 1; margin: 14px 0 10px; }
.result-sub { color: var(--text-2); }
.result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.r-tile { padding: 22px; }
.r-tile .lbl { font-size: .78rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.r-tile .lbl i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.r-tile .val { font-size: 1.6rem; font-weight: 700; margin-top: 8px; }
.r-tile .hint { font-size: .82rem; color: var(--text-3); margin-top: 4px; }
.result-split { display: grid; grid-template-columns: 340px 1fr; gap: 18px; margin-top: 18px; }
.donut-wrap { position: relative; aspect-ratio: 1; max-width: 270px; margin: 0 auto; }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.donut-center strong { font-size: 1.35rem; display: block; }
.donut-center small { color: var(--text-3); }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th { text-align: right; color: var(--text-3); font-weight: 600; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; padding: 11px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; position: sticky; top: 0; background: var(--surface-solid); z-index: 1; }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table td { padding: 11px 12px; border-bottom: 1px solid var(--border); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table tbody tr:hover td { background: rgba(255,255,255,.025); }
.data-table tfoot td { font-weight: 700; border-top: 1px solid var(--border-strong); border-bottom: 0; background: var(--surface-solid); position: sticky; bottom: 0; }
.table-scroll { overflow: auto; max-height: 560px; border-radius: 14px; border: 1px solid var(--border); }
.pos { color: var(--green); }
.neg { color: var(--red); }
.tag { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: .72rem; font-weight: 700; background: rgba(139,92,246,.2); color: #c4b5fd; margin-left: 6px; vertical-align: middle; }
.tag-green { background: rgba(52,211,153,.15); color: #6ee7b7; }
.tag-amber { background: rgba(251,191,36,.15); color: #fcd34d; }
.tag-red { background: rgba(248,113,113,.15); color: #fca5a5; }
.result-actions { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.disclaimer { font-size: .82rem; color: var(--text-3); text-align: center; margin-top: 22px; max-width: 760px; margin-inline: auto; }

/* Geçiş kontrol listesi */
.checklist { display: grid; gap: 10px; }
.checklist label { display: flex; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); cursor: pointer; transition: .25s; align-items: flex-start; }
.checklist label:hover { border-color: var(--border-strong); }
.checklist label.done { opacity: .6; }
.checklist label.done strong { text-decoration: line-through; }
.checklist strong { display: block; }
.checklist small { color: var(--text-2); }
.progress { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.progress > div { height: 100%; background: var(--grad); width: 0; transition: width .5s; }

/* ---------- Harita sayfası ---------- */
.map-page { display: grid; grid-template-columns: 400px 1fr; height: calc(100vh - var(--nav-h)); }
.map-side { border-right: 1px solid var(--border); display: flex; flex-direction: column; min-height: 0; background: rgba(5, 8, 22, .75); }
.map-side .head { padding: 22px 22px 14px; border-bottom: 1px solid var(--border); }
.map-side .head h1 { font-size: 1.6rem; margin-bottom: 4px; }
.map-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; max-height: 96px; overflow: auto; }
.map-filters button { padding: 5px 12px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-size: .78rem; cursor: pointer; transition: .2s; }
.map-filters button.on { background: var(--violet); color: #fff; border-color: transparent; }
.tp-list { overflow: auto; padding: 12px; display: grid; gap: 8px; align-content: start; flex: 1; }
.tp-item { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; transition: .2s; text-align: left; }
.tp-item:hover, .tp-item.on { border-color: var(--violet); background: rgba(139,92,246,.08); }
.tp-item strong { display: block; }
.tp-item small { color: var(--text-3); }
.tp-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.tp-tags span { font-size: .7rem; padding: 2px 8px; border-radius: 99px; background: rgba(34, 211, 238, .1); color: #67e8f9; }
.map-wrap { position: relative; min-height: 0; }
#map { position: absolute; inset: 0; background: #0b1022; }
.map-stat { position: absolute; z-index: 500; top: 18px; right: 18px; padding: 14px 18px; display: flex; gap: 22px; }
.map-stat strong { display: block; font-size: 1.5rem; font-family: var(--font-display); }
.map-stat span { font-size: .75rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
.leaflet-container { font-family: var(--font) !important; background: #0b1022 !important; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--surface-solid) !important; color: var(--text) !important; box-shadow: var(--shadow) !important; }
.leaflet-popup-content-wrapper { border-radius: 16px !important; border: 1px solid var(--border-strong); }
.leaflet-popup-content { margin: 18px 20px !important; min-width: 250px; line-height: 1.5 !important; }
.leaflet-popup-content h4 { margin: 0 0 4px; font-size: 1.1rem; }
.leaflet-popup-content p { margin: 6px 0 !important; color: var(--text-2); font-size: .88rem; }
.leaflet-popup-content .btn { margin-top: 10px; color: #fff; }
.leaflet-container a.leaflet-popup-close-button { color: var(--text-2) !important; }
.leaflet-control-zoom a { background: var(--surface-solid) !important; color: var(--text) !important; border-color: var(--border) !important; }
.leaflet-bar { border: 1px solid var(--border-strong) !important; }
.leaflet-control-attribution { background: rgba(5,8,22,.7) !important; color: var(--text-3) !important; }
.leaflet-control-attribution a { color: var(--text-2) !important; }
.tp-marker { width: 18px; height: 18px; border-radius: 50%; background: var(--grad); border: 2px solid #fff; animation: mpulse 2.4s infinite; }
@keyframes mpulse { 0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, .8); } 70% { box-shadow: 0 0 0 16px rgba(139, 92, 246, 0); } 100% { box-shadow: 0 0 0 0 rgba(139,92,246,0); } }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background: rgba(139, 92, 246, .3) !important; }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background: linear-gradient(135deg, #3b82f6, #8b5cf6) !important; color: #fff; font-weight: 700; font-family: var(--font-display); }

/* ---------- Tur (Pusula asistanı) ---------- */
.tour-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 900; width: 64px; height: 64px; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--grad); background-size: 200% auto; box-shadow: 0 14px 40px -8px rgba(139, 92, 246, .9);
  display: grid; place-items: center; animation: gradShift 5s linear infinite;
}
.tour-fab svg { width: 30px; height: 30px; color: #fff; }
.tour-fab::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(139, 92, 246, .5); animation: ring 2.5s infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.tour-fab .tip { position: absolute; right: 76px; white-space: nowrap; background: var(--surface-solid); border: 1px solid var(--border-strong); padding: 8px 14px; border-radius: 12px; font-size: .85rem; font-weight: 600; color: var(--text); opacity: 0; transform: translateX(10px); transition: .3s; pointer-events: none; }
.tour-fab:hover .tip { opacity: 1; transform: none; }
.tour-hole { position: fixed; z-index: 951; border-radius: 18px; box-shadow: 0 0 0 9999px rgba(3, 5, 15, .74), 0 0 0 3px rgba(139, 92, 246, .9), 0 0 40px 6px rgba(139, 92, 246, .5); transition: all .55s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.tour-hole.center { box-shadow: 0 0 0 9999px rgba(3, 5, 15, .74); }
.tour-box {
  position: fixed; z-index: 960; width: min(430px, calc(100vw - 32px)); padding: 22px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(20, 28, 64, .97), rgba(12, 16, 40, .97)); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), 0 0 60px -10px rgba(139, 92, 246, .5); transition: top .55s cubic-bezier(.2,.8,.2,1), left .55s cubic-bezier(.2,.8,.2,1);
}
.tour-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.tour-avatar { position: relative; width: 54px; height: 54px; flex: 0 0 54px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; }
.tour-avatar svg { width: 28px; height: 28px; color: #fff; position: relative; z-index: 1; }
.tour-avatar canvas { position: absolute; left: -14px; top: -14px; width: 82px; height: 82px; pointer-events: none; }
.tour-head h4 { margin: 0; font-size: 1.05rem; }
.tour-head small { color: var(--text-3); }
.tour-text { color: var(--text-2); font-size: .98rem; min-height: 72px; }
.tour-text .cursor { display: inline-block; width: 2px; height: 1em; background: var(--cyan); vertical-align: text-bottom; animation: blink 1s infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }
.tour-foot { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.tour-dots { display: flex; gap: 5px; margin-right: auto; }
.tour-dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.18); transition: .3s; }
.tour-dots i.on { width: 22px; background: var(--violet); }
.tour-mute { background: none; border: 0; color: var(--text-2); cursor: pointer; padding: 6px; display: grid; }
.tour-mute svg { width: 20px; height: 20px; }
.tour-invite { position: fixed; right: 100px; bottom: 28px; z-index: 899; width: min(340px, calc(100vw - 130px)); padding: 18px 20px; animation: panelIn .6s; background: var(--surface-solid); }
.tour-invite p { margin: 0 0 14px; color: var(--text-2); font-size: .92rem; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; padding: 16px; background: rgba(3, 5, 15, .75); backdrop-filter: blur(6px); }
.modal.open { display: grid; animation: fadeIn .3s; }
@keyframes fadeIn { from { opacity: 0; } }
.modal > .card { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--surface-solid); animation: panelIn .4s; }
.modal-close { position: absolute; top: 14px; right: 14px; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(140px); z-index: 1100; padding: 14px 22px; border-radius: 14px; background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: var(--shadow); transition: transform .4s cubic-bezier(.2,.8,.2,1); font-weight: 500; max-width: calc(100vw - 32px); }
.toast.show { transform: translateX(-50%) translateY(0); }

.spinner { width: 20px; height: 20px; border: 2.5px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-veil { position: absolute; inset: 0; border-radius: inherit; background: rgba(5, 8, 22, .75); display: grid; place-content: center; justify-items: center; gap: 14px; z-index: 5; backdrop-filter: blur(3px); }
.loading-veil .spinner { width: 42px; height: 42px; border-width: 3px; }

/* ---------- Teşvik sayfası & quiz ---------- */
.inc-list { display: grid; gap: 18px; }
.inc-item { display: grid; grid-template-columns: 70px 1fr 140px; gap: 26px; align-items: start; padding: 30px; }
.inc-item .t-icon { width: 64px; height: 64px; border-radius: 18px; }
.inc-item .t-icon svg { width: 30px; height: 30px; }
.inc-item .t-vurgu { font-size: 2.6rem; text-align: right; line-height: 1; }
.inc-item p { color: var(--text-2); margin: 8px 0 0; }
.filter-bar { display: flex; justify-content: center; margin-bottom: 30px; }
.quiz { max-width: 760px; margin: 0 auto; }
.quiz-progress { margin-bottom: 26px; }
.quiz-q { font-size: 1.35rem; font-weight: 600; margin-bottom: 18px; font-family: var(--font-display); }
.quiz-opts { display: grid; gap: 10px; }
.quiz-opts button { text-align: left; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; transition: .2s; font-weight: 500; }
.quiz-opts button:hover { border-color: var(--violet); background: rgba(139,92,246,.1); transform: translateX(4px); }

/* ---------- Rehber ---------- */
.tabs { display: inline-flex; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); gap: 4px; flex-wrap: wrap; justify-content: center; }
.tabs button { padding: 10px 20px; border-radius: 999px; border: 0; background: none; color: var(--text-2); font-weight: 600; cursor: pointer; transition: .25s; }
.tabs button.on { background: var(--violet); color: #fff; }
.tab-panel { display: none; }
.tab-panel.on { display: block; animation: panelIn .5s; }
.doc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.doc-list div { padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); display: flex; gap: 12px; align-items: flex-start; }
.doc-list svg { width: 22px; height: 22px; color: var(--cyan); flex: 0 0 22px; margin-top: 2px; }

/* ---------- Bordro ---------- */
.bordro-form fieldset { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.bordro-form legend { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 18px; display: flex; align-items: center; gap: 14px; width: 100%; padding: 0; }
.bordro-form legend::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.check-box { padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border-strong); background: rgba(5,8,22,.6); }

/* ---------- Duyarlı ---------- */
@media (max-width: 1080px) {
  .hero .container, .map-teaser { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .result-grid { grid-template-columns: repeat(2, 1fr); }
  .result-split { grid-template-columns: 1fr; }
  .sim-shell { grid-template-columns: 1fr; }
  .sim-steps { position: static; padding: 12px; }
  .sim-steps ol { grid-auto-flow: column; overflow-x: auto; scrollbar-width: none; }
  .sim-steps ol::-webkit-scrollbar { display: none; }
  .sim-steps li { white-space: nowrap; }
  .footer .container { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: rgba(5,8,22,.97); padding: 16px; border-bottom: 1px solid var(--border); }
  .scenarios, .scenario-pick, .grid-3, .doc-list { grid-template-columns: 1fr; }
  .map-page { grid-template-columns: 1fr; grid-template-rows: 50vh auto; height: auto; }
  .map-wrap { order: -1; height: 50vh; }
  .tp-list { max-height: 60vh; }
  .inc-item { grid-template-columns: 1fr; }
  .inc-item .t-vurgu { text-align: left; }
}
@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .bento, .grid-2, .grid-4, .result-grid { grid-template-columns: 1fr; }
  .bento .big, .bento .wide { grid-column: auto; grid-row: auto; }
  .footer .container { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hc-bar { grid-template-columns: 90px 1fr; }
  .hc-bar b { grid-column: 1 / -1; text-align: right; margin-top: -8px; }
  .cta-band { padding: 50px 22px; }
  .nav-cta { display: none; }
  .p-table thead { display: none; }
  .p-table tr { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; padding: 12px; border-radius: 14px; background: var(--surface); margin-bottom: 10px; }
  .p-table td:first-child { grid-column: 1 / -1; }
  .file-item { grid-template-columns: 34px 1fr; }
  .file-item .input, .file-item > :last-child { grid-column: 1 / -1; width: 100%; }
  .months { grid-template-columns: repeat(6, 1fr); }
  .sim-panel > .card { padding: 22px; }
  .tour-invite { right: 16px; bottom: 100px; width: calc(100vw - 32px); }
  .float-chip.c2 { left: 0; }
  .map-stat { display: none; }
}

@media print {
  body { background: #fff; color: #111; }
  .nav, .footer, .tour-fab, .tour-invite, .bg-aurora, .bg-grid, .result-actions, .no-print { display: none !important; }
  .card { background: #fff !important; border-color: #ddd; backdrop-filter: none; }
  .gradient-text { color: #4c1d95; -webkit-text-fill-color: #4c1d95; animation: none; }
  .muted, .result-sub, .r-tile .lbl, .data-table th { color: #555 !important; }
  .data-table th, .data-table tfoot td { background: #f4f4f8 !important; }
  .table-scroll { max-height: none; overflow: visible; }
}

/* OpenStreetMap karolarını koyu temaya çevir (işaretçiler etkilenmez) */
.leaflet-tile-pane { filter: invert(100%) hue-rotate(185deg) brightness(88%) contrast(92%) saturate(55%); }

/* ---------- Logo: Teknoparka ↔ TeknoPusula parlayarak dönen marka ---------- */
.brand-text { position: relative; display: inline-flex; align-items: baseline; padding: 2px 0; overflow: hidden; }
.brand-flip { display: inline-grid; justify-items: start; perspective: 320px; }
.bf {
  grid-area: 1 / 1; display: inline-block; white-space: nowrap;
  transform-origin: 50% 50% -0.45em; backface-visibility: hidden;
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: bfA 7s cubic-bezier(.65, 0, .35, 1) infinite, gradShift 4s linear infinite;
}
.bf-1 { background-image: linear-gradient(120deg, #67e8f9, #3b82f6, #a78bfa, #67e8f9); }
.bf-2 { background-image: linear-gradient(120deg, #c4b5fd, #8b5cf6, #ec4899, #c4b5fd); animation-name: bfB, gradShift; opacity: 0; }
@keyframes bfA {
  0%, 40% { transform: rotateX(0); opacity: 1; }
  46% { transform: rotateX(90deg); opacity: 0; }
  47%, 94% { transform: rotateX(-90deg); opacity: 0; }
  100% { transform: rotateX(0); opacity: 1; }
}
@keyframes bfB {
  0%, 44% { transform: rotateX(-90deg); opacity: 0; }
  50%, 90% { transform: rotateX(0); opacity: 1; }
  96% { transform: rotateX(90deg); opacity: 0; }
  97%, 100% { transform: rotateX(-90deg); opacity: 0; }
}
/* Dönüş anında parlama */
.brand-anim .brand-flip { animation: bfGlow 7s ease-in-out infinite; }
@keyframes bfGlow {
  0%, 38%, 56%, 88% { filter: drop-shadow(0 0 0 rgba(139, 92, 246, 0)); }
  46%, 96% { filter: drop-shadow(0 0 10px rgba(139, 92, 246, .95)) drop-shadow(0 0 22px rgba(34, 211, 238, .55)); }
}
/* Yazının üzerinden geçen ışık hüzmesi */
.brand-text::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 35%; left: -50%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent);
  transform: skewX(-20deg); mix-blend-mode: overlay; pointer-events: none;
  animation: bfSweep 7s ease-in-out infinite;
}
@keyframes bfSweep {
  0%, 38% { left: -50%; opacity: 0; }
  40% { opacity: 1; }
  52% { left: 130%; opacity: 0; }
  53%, 88% { left: -50%; opacity: 0; }
  90% { opacity: 1; }
  100% { left: 130%; opacity: 0; }
}
/* Pusula ikonu dönüşle birlikte savrulup parlar */
.brand-anim .brand-mark { animation: bmKick 7s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes bmKick {
  0%, 40% { transform: rotate(0); box-shadow: 0 8px 24px -6px rgba(139, 92, 246, .7); }
  46% { box-shadow: 0 0 0 4px rgba(139, 92, 246, .35), 0 0 28px 6px rgba(34, 211, 238, .7); }
  50%, 90% { transform: rotate(180deg); box-shadow: 0 8px 24px -6px rgba(139, 92, 246, .7); }
  96% { box-shadow: 0 0 0 4px rgba(236, 72, 153, .35), 0 0 28px 6px rgba(139, 92, 246, .8); }
  100% { transform: rotate(360deg); box-shadow: 0 8px 24px -6px rgba(139, 92, 246, .7); }
}
.brand-anim:hover .bf, .brand-anim:hover .brand-mark, .brand-anim:hover .brand-flip, .brand-anim:hover .brand-text::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .bf-2 { display: none; }
  .bf-1 { opacity: 1; transform: none; }
}
