/* ── NexWatch tanıtım sitesi (girişsiz ziyaretçi: /, /ozellikler.html,
   /sss.html) ──────────────────────────────────────────────────────────
   Taban (reset, tipografi, token'lar, .ambient, .btn) /style.css'ten gelir.
   Yalnız style.css :root değişkenleri kullanılır. Sınıflar `tn-` önekli.
   ────────────────────────────────────────────────────────────────────── */

.tn-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.tn-kap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Üst çubuk ────────────────────────────────────────────────────────── */
.tn-ust-sar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: max(10px, env(safe-area-inset-top)) 16px 0;
}

.tn-ust {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 62px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 9px 0 20px;
  border-radius: 999px;
  background: var(--strong);
  border: 1px solid var(--edge);
  box-shadow: var(--shine), 0 12px 34px rgba(0, 0, 0, .4);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

.tn-logo { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.tn-logo img { height: 26px; width: auto; display: block; }

.tn-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 18px;
}

.tn-nav a,
.tn-giris {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 550;
  color: var(--t2);
  text-decoration: none;
  transition: background .25s, color .25s;
}

.tn-nav a:hover,
.tn-giris:hover { background: rgba(255, 255, 255, .09); color: var(--t1); }

.tn-nav a[aria-current="page"] { color: var(--t1); background: rgba(255, 255, 255, .07); }

.tn-eylem {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.tn-eylem .btn { text-decoration: none; }

.tn-menu-dugme {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: transparent;
  color: var(--t1);
  cursor: pointer;
}

.tn-menu-dugme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ── Kahraman alanı ───────────────────────────────────────────────────── */
.tn-hero {
  position: relative;
  isolation: isolate;
  margin: 18px 16px 0;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--edge);
  min-height: min(640px, 78vh);
  display: flex;
  align-items: center;
}

.tn-hero-gorsel {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.tn-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 6, 10, .94) 0%, rgba(5, 6, 10, .78) 42%, rgba(5, 6, 10, .2) 100%),
    linear-gradient(0deg, rgba(5, 6, 10, .85) 0%, transparent 45%);
}

.tn-hero-ic {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(22px, 5vw, 56px);
}

.tn-ust-yazi {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--subc);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}

.tn-h1 {
  max-width: 15ch;
  margin: 18px 0 16px;
  font-size: clamp(36px, 6.4vw, 72px);
  font-weight: 780;
  letter-spacing: -.04em;
  line-height: 1.02;
}

.tn-h1 em { font-style: normal; color: var(--accent); }

.tn-giris-yazi {
  max-width: 46ch;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.55;
  color: var(--t2);
}

.tn-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tn-cta .btn {
  min-height: 50px;
  padding: 0 24px;
  font-size: 15.5px;
  text-decoration: none;
}

.tn-not { margin-top: 14px; font-size: 13px; color: var(--t3); }

/* ── Bölümler ─────────────────────────────────────────────────────────── */
.tn-main { flex: 1; }

.tn-bolum { padding: clamp(56px, 9vw, 104px) 0 0; }

.tn-bolum-bas { max-width: 640px; margin-bottom: 28px; }
.tn-bolum-bas.orta { margin-left: auto; margin-right: auto; text-align: center; }

.tn-h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 740;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.tn-bolum-bas p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--t2);
}

.tn-izgara {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tn-kart {
  padding: 24px;
  border-radius: 24px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shine);
}

.tn-kart h3 {
  margin: 16px 0 6px;
  font-size: 17px;
  font-weight: 660;
  letter-spacing: -.015em;
  line-height: 1.25;
}

.tn-kart p { font-size: 14.5px; line-height: 1.55; color: var(--t2); }

.tn-ikon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent);
}

.tn-ikon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Adımlar */
.tn-adimlar {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: adim;
}

.tn-adim {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: 24px;
  background: var(--strong);
  border: 1px solid var(--edge);
  box-shadow: var(--shine);
}

.tn-adim::before {
  counter-increment: adim;
  content: counter(adim);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-weight: 750;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 24px var(--adim);
}

.tn-adim h3 { margin: 16px 0 6px; font-size: 17px; font-weight: 660; }
.tn-adim p { font-size: 14.5px; line-height: 1.55; color: var(--t2); }
.tn-adim a { color: var(--t1); }

/* Cihazlar */
.tn-cihazlar {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tn-cihaz {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  background: var(--glass);
  border: 1px solid var(--edge);
}

.tn-cihaz svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tn-baglanti {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--t1);
  text-decoration: none;
}

.tn-baglanti svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--spring); }
.tn-baglanti:hover svg { transform: translateX(3px); }

/* Plan özeti */
.tn-planlar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tn-plan {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border-radius: 24px;
  background: var(--strong);
  border: 1px solid var(--edge);
  box-shadow: var(--shine);
}

.tn-plan h3 { font-size: 16px; font-weight: 700; }
.tn-plan-fiyat { font-size: 30px; font-weight: 760; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tn-plan p { font-size: 14px; color: var(--t2); }

.tn-plan-rozet {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: #30d158;
  background: color-mix(in srgb, #30d158 14%, transparent);
  border: 1px solid color-mix(in srgb, #30d158 40%, transparent);
}

/* SSS */
.tn-sss { display: grid; gap: 10px; max-width: 820px; }
.tn-sss.orta { margin: 0 auto; }

.tn-soru {
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, .08);
}

.tn-soru summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 22px;
  font-size: 16px;
  font-weight: 620;
  cursor: pointer;
  list-style: none;
}

.tn-soru summary::-webkit-details-marker { display: none; }

.tn-soru summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--t2);
  border-bottom: 2px solid var(--t2);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .3s var(--spring);
}

.tn-soru[open] summary::after { transform: rotate(225deg) translateY(-3px); }

.tn-soru div { padding: 0 22px 20px; font-size: 15px; line-height: 1.6; color: var(--t2); }
.tn-soru div p + p { margin-top: 10px; }
.tn-soru a { color: var(--t1); }

/* Son çağrı */
.tn-son {
  margin-top: clamp(56px, 9vw, 104px);
  padding: clamp(36px, 6vw, 64px);
  border-radius: 32px;
  text-align: center;
  background:
    radial-gradient(90% 120% at 50% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%),
    var(--strong);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: var(--shine), 0 24px 60px rgba(0, 0, 0, .45);
}

.tn-son p { margin: 12px auto 0; max-width: 46ch; color: var(--t2); font-size: 16px; line-height: 1.55; }
.tn-son .tn-cta { justify-content: center; }

/* Alt sayfa başlığı (Özellikler, SSS) */
.tn-sayfa-bas { padding: clamp(48px, 8vw, 88px) 0 0; text-align: center; }
.tn-sayfa-bas .tn-h1 { margin: 16px auto 14px; max-width: 21ch; font-size: clamp(34px, 5.4vw, 58px); }
.tn-sayfa-bas .tn-giris-yazi { margin: 0 auto; }

/* Özellik ayrıntı satırı */
.tn-ayrinti {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--edge);
}

.tn-ayrinti:first-child { border-top: 0; }
.tn-ayrinti h2 { margin-top: 14px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 720; letter-spacing: -.03em; }
.tn-ayrinti > div:first-child p { margin-top: 10px; color: var(--t2); line-height: 1.55; }

.tn-liste { list-style: none; padding: 0; display: grid; gap: 10px; }

.tn-liste li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, .07);
  font-size: 15px;
  line-height: 1.5;
  color: var(--t2);
}

.tn-liste li strong { color: var(--t1); font-weight: 620; }
.tn-liste svg { width: 20px; height: 20px; margin-top: 1px; color: #30d158; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ── Alt bilgi ────────────────────────────────────────────────────────── */
.tn-alt {
  margin-top: clamp(56px, 9vw, 104px);
  padding: 40px 0 max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--edge);
}

.tn-alt-izgara {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.tn-alt-izgara p { margin-top: 12px; font-size: 14px; line-height: 1.55; color: var(--t2); max-width: 36ch; }
.tn-alt h2 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--t3); margin-bottom: 8px; }
.tn-alt ul { list-style: none; padding: 0; }

.tn-alt ul a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 14.5px;
  color: var(--t2);
  text-decoration: none;
}

.tn-alt ul a:hover { color: var(--t1); }
.tn-alt-not { margin-top: 28px; font-size: 13px; color: var(--t3); }
.tn-alt-not a { color: var(--t2); }

/* ── Odak ─────────────────────────────────────────────────────────────── */
.tn-body a:focus-visible,
.tn-body button:focus-visible,
.tn-soru summary:focus-visible {
  outline: 3px solid var(--subc);
  outline-offset: 2px;
}

/* ── Duyarlı düzen ────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .tn-menu-dugme { display: grid; }
  .tn-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
    background: rgba(18, 19, 26, .97);
    border: 1px solid var(--edge);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
  }
  .tn-nav:not(.acik) { display: none; }
  .tn-nav a { min-height: 48px; padding: 0 16px; font-size: 15.5px; }
  .tn-izgara,
  .tn-adimlar,
  .tn-planlar { grid-template-columns: minmax(0, 1fr); }
  .tn-ayrinti { grid-template-columns: minmax(0, 1fr); }
  .tn-alt-izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tn-alt-izgara > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .tn-ust { padding-left: 16px; }
  .tn-giris { display: none; }
  .tn-hero { margin: 12px 10px 0; border-radius: 26px; min-height: 0; }
  .tn-hero-gorsel { object-position: 62% center; }
  .tn-hero::after {
    background: linear-gradient(0deg, rgba(5, 6, 10, .96) 20%, rgba(5, 6, 10, .55) 100%);
  }
  .tn-cta .btn { flex: 1 1 100%; justify-content: center; }
  .tn-kap { padding: 0 16px; }
}

@supports not (backdrop-filter: blur(1px)) {
  .tn-ust { background: rgba(26, 27, 36, .96); }
}

@media (prefers-reduced-motion: reduce) {
  .tn-soru summary::after,
  .tn-baglanti svg { transition: none; }
}
