/* =====================================================
   Takip — satış sitesi
   Palet doğrudan üründen alındı (stok_v5_siparis.html tailwind.config):
   bg #0e1417 · surface #161d1f · primary #00d4ff · secondary #ffb961
   Karanlık tek tema — ürünün kendisi karanlık, site de öyle.
   JS YOK: SSS native <details>, tema anahtarı yok.
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; }
img { max-width: 100%; height: auto; }

:root {
  --bg:        #0e1417;
  --bg-deep:   #0a0f11;
  --surface:   #161d1f;
  --surface2:  #1a2123;
  --surface3:  #242b2e;
  --primary:   #00d4ff;
  --secondary: #ffb961;
  --success:   #00e676;
  --danger:    #ff3d5a;
  --text:      #e2e8f0;
  --muted:     #94a3b8;
  --dim:       #64748b;
  --border:    rgba(255,255,255,0.075);
  --border-hi: rgba(0,212,255,0.42);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --shadow:    0 10px 30px rgba(0,0,0,.45), 0 2px 8px rgba(0,0,0,.35);
  --shadow-hi: 0 0 0 1px rgba(0,212,255,.28), 0 14px 44px rgba(0,212,255,.10);
  --font-ui:   'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-disp: 'Space Grotesk', var(--font-ui);
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--primary); color: #04191f; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

/* Arka plan dokusu — ürünün "terminal" havası */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 480px at 78% -8%, rgba(0,212,255,.09), transparent 60%),
    radial-gradient(760px 420px at 8% 4%, rgba(255,185,97,.055), transparent 62%);
}

/* ── Üst bar ─────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 18px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(14,20,23,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-family: var(--font-mono);
  font-size: 1.02rem; font-weight: 700; letter-spacing: .10em;
  color: var(--text); text-decoration: none; text-transform: uppercase;
}
.brand span { color: var(--primary); }
.nav { display: none; gap: 24px; margin-left: auto; }
@media (min-width: 900px) { .nav { display: flex; } }
.nav a {
  font-size: .875rem; font-weight: 600; color: var(--muted);
  text-decoration: none; transition: color .18s;
}
.nav a:hover { color: var(--text); }
.topbar .btn { margin-left: auto; padding: 9px 18px; font-size: .85rem; }
@media (min-width: 900px) { .topbar .btn { margin-left: 0; } }

/* ── Yerleşim ────────────────────────────────────── */
.wrap {
  position: relative; z-index: 1;
  max-width: 1080px; margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px) 64px;
}
.sec { padding: clamp(48px, 7vw, 84px) 0 0; }
.sec > h2 {
  font-family: var(--font-disp);
  font-size: clamp(1.5rem, 3.4vw, 2.05rem); font-weight: 700;
  letter-spacing: -.02em; line-height: 1.2;
  margin: 0 0 14px;
}
.sec > p { color: var(--muted); margin: 0 0 24px; max-width: 68ch; }
.sec > p strong { color: var(--text); font-weight: 600; }

.eyebrow {
  display: block;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--primary); margin: 0 0 10px;
}

/* ── Hero ────────────────────────────────────────── */
/* Ekran görüntüsü yarım kolonda okunmuyordu (1600 px'lik pano 490 px'e sığmıyor)
   → metin üstte, görsel tam genişlikte. */
.hero { padding: clamp(40px, 6vw, 72px) 0 0; }
.hero-copy { max-width: 780px; }
.hero .shot-frame { margin-top: clamp(30px, 4.5vw, 48px); }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; margin-bottom: 20px;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--secondary);
  background: rgba(255,185,97,.08);
  border: 1px solid rgba(255,185,97,.24); border-radius: 999px;
}
.hero h1 {
  font-family: var(--font-disp);
  font-size: clamp(2.05rem, 5.4vw, 3.15rem); font-weight: 700;
  line-height: 1.08; letter-spacing: -.032em; margin: 0 0 18px;
}
.hero h1 em { font-style: normal; color: var(--primary); }
.lead { font-size: 1.04rem; line-height: 1.72; color: var(--muted); margin: 0 0 26px; }
.lead strong { color: var(--text); font-weight: 600; }

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  font-family: inherit; font-size: .94rem; font-weight: 700;
  color: #04191f; background: var(--primary);
  border: 1px solid var(--primary); border-radius: var(--r-md);
  text-decoration: none; cursor: pointer;
  transition: transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,212,255,.22); }
.btn-ghost {
  color: var(--text); background: var(--surface); border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--border-hi); box-shadow: none; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0 0;
  font-family: var(--font-mono); font-size: .76rem; color: var(--dim);
}
.hero-meta span::before { content: '▸ '; color: var(--primary); }

.shot-frame {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.shot-frame img { display: block; width: 100%; }

/* ── Dert listesi ────────────────────────────────── */
.pains { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .pains { grid-template-columns: repeat(2, 1fr); } }
.pain {
  padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--border);
  border-left: 2px solid var(--danger); border-radius: var(--r-sm);
  font-size: .93rem; color: var(--muted);
}
.pain b { display: block; color: var(--text); font-weight: 600; margin-bottom: 3px; }

/* ── Özellik kartları ────────────────────────────── */
.grid { display: grid; gap: 13px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; padding: 20px 21px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color .18s, transform .18s;
}
.card::after {
  content: ''; position: absolute; inset: -1px -1px auto -1px; height: 2px;
  background: var(--primary); border-radius: var(--r-md) var(--r-md) 0 0;
  opacity: .55;
}
.card:nth-child(3n+2)::after { background: var(--secondary); }
.card:nth-child(3n+3)::after { background: var(--success); }
.card:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.card h3 {
  font-family: var(--font-disp); font-size: .99rem; font-weight: 700;
  margin: 0 0 7px; color: var(--text);
}
.card p { font-size: .885rem; line-height: 1.62; color: var(--muted); margin: 0; }
.card .tag {
  display: inline-block; margin-top: 9px;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--dim);
}

/* ── Ekran görüntüleri ───────────────────────────── */
.shots { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .shots { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .shots { grid-template-columns: repeat(3, 1fr); } }
.shots figure { margin: 0; }
.shots a { display: block; border-radius: var(--r-md); transition: transform .18s, box-shadow .18s; }
.shots a:hover { transform: translateY(-2px); box-shadow: var(--shadow-hi); }
.shots img {
  display: block; width: 100%;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface);
}
.shots figcaption { margin-top: 8px; font-size: .8rem; color: var(--dim); line-height: 1.5; }

/* ── Geçiş / göç bloğu ───────────────────────────── */
.migrate {
  padding: clamp(22px, 3.6vw, 32px);
  background: linear-gradient(180deg, var(--surface2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--r-lg);
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
  counter-increment: s; padding-top: 30px; position: relative;
  font-size: .885rem; line-height: 1.6; color: var(--muted);
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-mono); font-size: .82rem; font-weight: 700;
  color: var(--primary);
}
.steps li b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }

/* ── Fiyat ───────────────────────────────────────── */
.tiers { display: grid; gap: 15px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 24px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.tier-featured { border-color: var(--primary); box-shadow: var(--shadow-hi); }
.tier-flag {
  position: absolute; top: -11px; left: 22px;
  padding: 4px 12px;
  font-family: var(--font-mono); font-size: .66rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: #04191f; background: var(--primary); border-radius: 999px;
}
.tier h3 {
  font-family: var(--font-disp); font-size: 1.05rem; font-weight: 700;
  margin: 0 0 5px; color: var(--text);
}
.tier-tag { font-size: .86rem; line-height: 1.55; color: var(--muted); margin: 0 0 18px; min-height: 2.6em; }
.price {
  font-family: var(--font-disp); font-size: 2.1rem; font-weight: 700;
  line-height: 1; color: var(--text);
}
.price small { font-size: .84rem; font-weight: 600; color: var(--muted); margin-left: 4px; }
.price-note { display: block; margin-top: 8px; font-size: .79rem; color: var(--dim); line-height: 1.5; }
.tier ul { list-style: none; margin: 20px 0 22px; padding: 0; display: grid; gap: 9px; }
.tier li {
  position: relative; padding-left: 20px;
  font-size: .875rem; line-height: 1.55; color: var(--muted);
}
.tier li::before {
  content: ''; position: absolute; left: 2px; top: .58em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
}
.tier li.off { color: var(--dim); }
.tier li.off::before { background: var(--surface3); }
.tier strong { color: var(--text); font-weight: 600; }
.tier .btn { width: 100%; }
.tier-cta { margin-top: auto; }

/* ── Tablo ───────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); }
table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 560px; }
th, td { padding: 12px 15px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--primary);
  background: var(--surface2); font-weight: 500;
}
tbody th { font-weight: 600; color: var(--text); width: 190px; }
td { color: var(--muted); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.yes { color: var(--success); font-weight: 700; }
.no  { color: var(--dim); }

/* ── Uyarı kutusu ────────────────────────────────── */
.callout {
  padding: 16px 18px; margin-top: 18px;
  background: rgba(255,185,97,.06);
  border: 1px solid rgba(255,185,97,.22); border-left-width: 3px;
  border-radius: var(--r-sm);
  font-size: .89rem; line-height: 1.65; color: var(--muted);
}
.callout strong { color: var(--secondary); }
.callout.info { background: rgba(0,212,255,.05); border-color: rgba(0,212,255,.2); }
.callout.info strong { color: var(--primary); }

/* ── SSS ─────────────────────────────────────────── */
details {
  padding: 15px 18px; margin-bottom: 9px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm);
}
details[open] { border-color: var(--border-hi); }
summary {
  cursor: pointer; list-style: none;
  font-size: .95rem; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; gap: 14px; align-items: flex-start;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--primary); font-family: var(--font-mono); font-size: 1.15rem; line-height: 1.2; }
details[open] summary::after { content: '−'; }
details p { margin: 11px 0 0; font-size: .9rem; line-height: 1.7; color: var(--muted); }

/* ── İletişim ────────────────────────────────────── */
.contact {
  margin-top: clamp(48px, 7vw, 84px);
  padding: clamp(28px, 5vw, 44px);
  text-align: center;
  background: linear-gradient(180deg, var(--surface2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--r-lg);
}
.contact h2 { font-family: var(--font-disp); font-size: clamp(1.35rem, 3vw, 1.8rem); margin: 0 0 10px; }
.contact p { color: var(--muted); margin: 0 0 22px; }
.contact .cta-row { justify-content: center; }

.foot {
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center;
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: .82rem; color: var(--dim);
}
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--primary); }

@media (prefers-reduced-motion: reduce) {
  .btn, .card { transition: none !important; }
}

/* ── ana siteye dönüş ──
   takip.html artık ihsandeniz.net.tr'nin alt sayfası; kendi başına duran bir site değil.
   Ziyaretçi buraya sosyal medyadan doğrudan inebilir, köke dönüş yolu görünür olmalı
   (aynı zamanda iç bağlantı = SEO). */
.nav-back {
  margin-left: auto;
  margin-right: 14px;
  font-size: 13px;
  color: var(--dim, #8fa3bd);
  text-decoration: none;
  white-space: nowrap;
}
.nav-back:hover { color: var(--fg, #e8eef7); }
@media (max-width: 640px) { .nav-back { display: none; } }  /* dar ekranda topbar'ı taşırıyor */
