/* ==========================================================================
   ElaDyne Broadcaster — Tasarım Sistemi
   Açık tema. Tek dosya, dış bağımlılık yok.
   ========================================================================== */

:root {
  /* Renk */
  --green:        #0FA97E;
  --green-dark:   #0B8765;
  --green-light:  #E6F7F1;
  --ink:          #0D1B2A;
  --ink-2:        #33455C;
  --muted:        #6B7C93;
  --line:         #E3E9F0;
  --bg:           #FFFFFF;
  --bg-soft:      #F6F9FC;
  --bg-tint:      #EEF5FB;
  --violet:       #6D28D9;
  --violet-light: #F2EDFE;
  --amber:        #E08700;
  --amber-light:  #FFF6E6;
  --red:          #DC2F3C;
  --red-light:    #FDEDEE;
  --blue:         #1E6FD9;
  --blue-light:   #E9F1FD;

  /* Ölçek */
  --wrap: 1180px;
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;

  --sh-sm: 0 1px 2px rgba(13,27,42,.06), 0 2px 8px rgba(13,27,42,.04);
  --sh:    0 2px 6px rgba(13,27,42,.06), 0 12px 32px rgba(13,27,42,.07);
  --sh-lg: 0 8px 20px rgba(13,27,42,.08), 0 28px 60px rgba(13,27,42,.10);

  --ease: cubic-bezier(.22,.68,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 1rem; font-weight: 700; }
p  { margin: 0 0 1rem; }
a  { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--soft  { background: var(--bg-soft); }
.section--tint  { background: linear-gradient(180deg, #F4FAFF 0%, #FFFFFF 100%); }
.section--ink   { background: var(--ink); color: #C3D0DE; }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--tight { padding: 60px 0; }

/* ---------- Başlık blokları ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-dark); background: var(--green-light);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.section--ink .eyebrow { background: rgba(15,169,126,.16); color: #4FD8AE; }
.head { max-width: 680px; margin-bottom: 52px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head p { font-size: 1.1rem; color: var(--muted); margin: 0; }
.section--ink .head p { color: #93A6B9; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 10px; border: 1.5px solid transparent;
  font-size: .96rem; font-weight: 700; cursor: pointer; text-decoration: none !important;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(15,169,126,.32); }
.btn--primary:hover { background: var(--green-dark); box-shadow: 0 10px 26px rgba(15,169,126,.4); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--sh-sm); }
.btn--ghost:hover { border-color: var(--green); color: var(--green-dark); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #16293C; }
.btn--lg { padding: 17px 34px; font-size: 1.03rem; }
.btn--sm { padding: 9px 16px; font-size: .84rem; border-radius: 8px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- Izgara ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--wide { grid-template-columns: 1.05fr .95fr; }

/* ---------- Kart ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px; box-shadow: var(--sh-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card--hover:hover { transform: translateY(-5px); box-shadow: var(--sh); border-color: #CFE6DD; }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: 16px; font-size: 1.3rem;
  background: var(--green-light); color: var(--green-dark);
}
.card__icon--violet { background: var(--violet-light); color: var(--violet); }
.card__icon--amber  { background: var(--amber-light);  color: var(--amber); }
.card__icon--blue   { background: var(--blue-light);   color: var(--blue); }
.card__icon--red    { background: var(--red-light);    color: var(--red); }
.card h3 { margin-bottom: 8px; }
.card p  { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Rozetler / etiketler ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .76rem; font-weight: 700; padding: 5px 11px; border-radius: 999px;
  background: var(--bg-tint); color: var(--ink-2);
}
.tag--green  { background: var(--green-light); color: var(--green-dark); }
.tag--amber  { background: var(--amber-light);  color: var(--amber); }
.tag--red    { background: var(--red-light);    color: var(--red); }
.tag--violet { background: var(--violet-light); color: var(--violet); }
.tag--blue   { background: var(--blue-light);   color: var(--blue); }

/* ---------- Üst menü ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.nav.is-stuck { border-color: var(--line); box-shadow: 0 2px 14px rgba(13,27,42,.05); }
.nav__inner { display: flex; align-items: center; gap: 26px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.16rem; color: var(--ink); letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo em { font-style: normal; color: var(--green); }
.logo small { font-size: .62rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; align-self: flex-end; padding-bottom: 4px; }
.nav__links { display: flex; gap: 3px; margin-left: auto; }
.nav__links a {
  padding: 9px 14px; border-radius: 8px; color: var(--ink-2);
  font-size: .93rem; font-weight: 600; transition: background .18s, color .18s;
}
.nav__links a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.nav__links a.is-active { color: var(--green-dark); background: var(--green-light); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; transition: .25s; }

/* ---------- Alt bilgi ---------- */
.footer { background: var(--ink); color: #8FA2B6; padding: 64px 0 28px; font-size: .92rem; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer a { color: #8FA2B6; display: block; padding: 5px 0; }
.footer a:hover { color: var(--green); text-decoration: none; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 44px; }
.footer__bottom {
  margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem;
}
.footer .logo { color: #fff; }

/* ---------- Kaydırma animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .09s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .27s; }
.reveal[data-d="4"] { transition-delay: .36s; }
.reveal[data-d="5"] { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Sayaç ---------- */
.stat { text-align: center; }
.stat__n { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; display: block; line-height: 1.1; }
.stat__l { font-size: .88rem; color: var(--muted); font-weight: 600; }
.section--ink .stat__n { color: #fff; }
.section--ink .stat__l { color: #93A6B9; }

/* ---------- Adımlar ---------- */
.steps { counter-reset: s; display: grid; gap: 20px; }
.step {
  display: grid; grid-template-columns: 54px 1fr; gap: 20px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px;
  box-shadow: var(--sh-sm);
}
.step::before {
  counter-increment: s; content: counter(s);
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 1.05rem;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Uygulama görseli (sahte pencere) ---------- */
.appwin {
  border-radius: var(--r-lg); overflow: hidden; background: #0D1420;
  box-shadow: var(--sh-lg); border: 1px solid rgba(255,255,255,.08);
}
.appwin__bar { display: flex; align-items: center; gap: 8px; padding: 11px 15px; background: #131C2B; border-bottom: 1px solid rgba(255,255,255,.07); }
.appwin__dot { width: 11px; height: 11px; border-radius: 50%; }
.appwin__title { margin-left: 10px; font-size: .76rem; color: #7A8DA5; font-weight: 600; }
.appwin__body { padding: 18px; }

/* Kanal satırı (uygulama görselinde) */
.chan { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 11px 13px; border-radius: 10px; background: #131C2B; border: 1px solid rgba(255,255,255,.06); margin-bottom: 9px; }
.chan__name { font-size: .82rem; font-weight: 700; color: #E4EBF3; }
.chan__meta { font-size: .68rem; color: #6F8299; margin-top: 2px; }
.chan__live { font-size: .62rem; font-weight: 800; letter-spacing: .08em; padding: 3px 8px; border-radius: 5px; background: rgba(15,169,126,.16); color: #4FD8AE; }
.chan__off  { background: rgba(255,255,255,.06); color: #6F8299; }

/* VU çubuğu (dekoratif animasyon) */
.vu { display: flex; align-items: flex-end; gap: 2px; height: 22px; }
.vu i { width: 3px; background: linear-gradient(180deg, #4FD8AE, #0FA97E); border-radius: 2px; animation: vu 1.1s ease-in-out infinite; }
.vu i:nth-child(2){ animation-delay:.12s } .vu i:nth-child(3){ animation-delay:.24s }
.vu i:nth-child(4){ animation-delay:.36s } .vu i:nth-child(5){ animation-delay:.48s }
.vu i:nth-child(6){ animation-delay:.60s } .vu i:nth-child(7){ animation-delay:.72s }
@keyframes vu { 0%,100% { height: 20% } 50% { height: 100% } }

/* ---------- Tablo ---------- */
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th {
  text-align: left; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); font-weight: 800; padding: 12px 14px; border-bottom: 2px solid var(--line);
}
.table td { padding: 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: var(--bg-soft); }
.table__wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); }

/* ---------- Akordiyon (SSS) ---------- */
.acc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); }
.acc__item + .acc__item { border-top: 1px solid var(--line); }
.acc__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 26px; font-size: 1rem; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: inherit;
}
.acc__q:hover { background: var(--bg-soft); }
.acc__q::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--green); transition: transform .28s var(--ease); line-height: 1; }
.acc__item.is-open .acc__q::after { transform: rotate(45deg); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc__a > div { padding: 0 26px 22px; color: var(--muted); font-size: .96rem; }

/* ---------- Fiyat kartı ---------- */
.price { display: flex; flex-direction: column; position: relative; }
.price--best { border-color: var(--green); box-shadow: 0 10px 34px rgba(15,169,126,.16); }
.price__flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #fff; font-size: .7rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 15px; border-radius: 999px; white-space: nowrap;
}
.price__amt { font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.price__per { font-size: .88rem; color: var(--muted); font-weight: 600; }
.price ul { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 11px; }
.price li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink-2); }
.price li svg { flex-shrink: 0; margin-top: 3px; }
.price li.off { color: #A8B5C4; }

/* ---------- Uyarı kutusu ---------- */
.note { border-radius: var(--r); padding: 18px 22px; font-size: .93rem; display: flex; gap: 14px; align-items: flex-start; }
.note--info  { background: var(--blue-light);  color: #14508F; }
.note--warn  { background: var(--amber-light); color: #8A5300; }
.note--good  { background: var(--green-light); color: var(--green-dark); }
.note--bad   { background: var(--red-light);   color: #A11F2A; }
.note b { display: block; margin-bottom: 2px; }

/* ---------- Form ---------- */
.field { margin-bottom: 17px; }
.field label { display: block; font-size: .8rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: .95rem; font-family: inherit; color: var(--ink); background: #fff;
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(15,169,126,.13);
}
.field small { display: block; margin-top: 6px; font-size: .8rem; color: var(--muted); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.authpage { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.authpage__form { display: flex; align-items: center; justify-content: center; padding: 44px 28px; }
.authpage__form > div { width: 100%; max-width: 400px; }
.authpage__side { background: linear-gradient(155deg, #0D1B2A 0%, #113A4E 60%, #0B5D4C 100%); color: #fff; padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.authpage__side h2 { color: #fff; }
.authpage__side p { color: #A9C0D4; }

.msg { padding: 12px 15px; border-radius: 10px; font-size: .88rem; margin-bottom: 16px; display: none; line-height: 1.55; }
.msg.on { display: block; }
.msg--err  { background: var(--red-light);   color: #A11F2A; }
.msg--ok   { background: var(--green-light); color: var(--green-dark); }
.msg--info { background: var(--blue-light);  color: #14508F; }

/* ---------- Panel düzeni ---------- */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.side { background: #fff; border-right: 1px solid var(--line); padding: 22px 16px; display: flex; flex-direction: column; }
.side__nav { display: grid; gap: 3px; margin-top: 26px; }
.side__nav a { display: flex; align-items: center; gap: 11px; padding: 10px 13px; border-radius: 9px; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.side__nav a:hover { background: var(--bg-soft); text-decoration: none; }
.side__nav a.is-active { background: var(--green-light); color: var(--green-dark); }
.side__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.main { background: var(--bg-soft); padding: 30px 34px 60px; }
.pagehead { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.pagehead h1 { font-size: 1.75rem; margin: 0 0 4px; }
.pagehead p { margin: 0; color: var(--muted); font-size: .95rem; }

.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--sh-sm); }
.tile__l { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tile__v { font-size: 1.85rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin-top: 5px; line-height: 1.1; }
.tile__s { font-size: .82rem; color: var(--muted); margin-top: 2px; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); overflow: hidden; }
.panel__head { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.panel__head h3 { margin: 0; font-size: 1rem; }
.panel__body { padding: 22px; }

.keybox {
  font-family: ui-monospace, Consolas, Monaco, monospace; font-size: 1.02rem; font-weight: 700;
  letter-spacing: .06em; color: var(--ink); background: var(--bg-soft);
  border: 1px dashed var(--line); border-radius: 10px; padding: 13px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; word-break: break-all;
}

.empty { text-align: center; padding: 52px 20px; color: var(--muted); }
.empty__i { font-size: 2.4rem; margin-bottom: 12px; opacity: .5; }

/* ---------- Yardımcılar ---------- */
.center { text-align: center; }
.muted  { color: var(--muted); }
.small  { font-size: .87rem; }
.mono   { font-family: ui-monospace, Consolas, Monaco, monospace; }
.mt-0 { margin-top: 0 } .mt-1 { margin-top: 10px } .mt-2 { margin-top: 20px } .mt-3 { margin-top: 32px } .mt-4 { margin-top: 48px }
.mb-0 { margin-bottom: 0 } .mb-1 { margin-bottom: 10px } .mb-2 { margin-bottom: 20px } .mb-3 { margin-bottom: 32px }
.flex { display: flex; gap: 12px; align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.hide { display: none !important; }

/* ---------- Duyarlı ---------- */
@media (max-width: 940px) {
  .split, .split--wide { grid-template-columns: 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .authpage { grid-template-columns: 1fr; }
  .authpage__side { display: none; }

  /* Panel: yan menü üstte yatay şeride dönüşür.
     min-width:0 olmadan grid öğesi küçülmez ve sayfayı taşırır. */
  .shell { grid-template-columns: 1fr; }
  .shell > * { min-width: 0; }
  .side {
    border-right: 0; border-bottom: 1px solid var(--line);
    min-width: 0; padding: 14px 16px;
    position: sticky; top: 0; z-index: 50; background: #fff;
  }
  .side--admin { background: var(--ink); }
  .side__nav {
    grid-auto-flow: column; grid-auto-columns: max-content;
    overflow-x: auto; overflow-y: hidden; margin-top: 12px;
    min-width: 0; padding-bottom: 4px;
    scrollbar-width: thin; -webkit-overflow-scrolling: touch;
  }
  .side__nav a { white-space: nowrap; }
  .side__foot { display: none; }
  .main { padding: 22px 18px 50px; min-width: 0; }
  .pagehead { flex-direction: column; align-items: flex-start; }

  /* Yedek sunucu şeması: mobilde dikey akış */
  .failrow { flex-direction: column; gap: 10px; }
  .failrow .wireline { width: 3px; height: 34px; flex: 0 0 34px; }
  .failrow .wireline.live::after { width: 100%; height: 40%; animation-name: flowY; }
  @keyframes flowY { from { transform: translateY(-100%) } to { transform: translateY(250%) } }
  .node { width: 100%; }
}

/* ---- Menü kırılma noktası ----
   Logo + 6 bağlantı + 2 buton yaklaşık 940px ister; bu genişliğin
   altında bağlantılar hamburger menüye taşınır. */
@media (max-width: 940px) {
  .nav__links {
    position: fixed; inset: 70px 0 auto; background: #fff; flex-direction: column;
    padding: 14px 20px 22px; border-bottom: 1px solid var(--line); gap: 2px;
    box-shadow: var(--sh); display: none; max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 14px; }   /* dokunmatik hedef büyütüldü */
  .nav__burger { display: block; order: 3; margin-right: -8px; }
  .nav__cta { margin-left: auto; gap: 8px; }
}

/* Menüye eklenen "Giriş Yap" bağlantısı yalnızca buton gizliyken görünür */
.nav__links-login { display: none !important; }
@media (max-width: 720px) {
  .nav__links-login {
    display: block !important;
    margin-top: 8px; padding-top: 14px !important;
    border-top: 1px solid var(--line); font-weight: 700 !important;
    color: var(--green-dark) !important;
  }
}

@media (max-width: 720px) {
  .section { padding: 62px 0; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }

  .wrap { padding: 0 18px; }
  .nav__inner { gap: 10px; }
  .logo { font-size: 1.05rem; gap: 7px; }
  .logo small { display: none; }          /* "BROADCASTER" alt metni mobilde gizli */
  .nav__cta { gap: 6px; }
  .nav__cta .btn--ghost { display: none; }
  .nav__cta .btn { padding: 8px 12px; font-size: .8rem; }

  .footer__grid { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }

  /* Butonlar mobilde tam genişlik, yan yana sıkışmasın */
  .hero__cta .btn, .flex-wrap .btn--lg { width: 100%; }
  .btn--lg { padding: 15px 24px; font-size: .96rem; }

  h1 { font-size: clamp(1.75rem, 8vw, 2.3rem); }
  h2 { font-size: clamp(1.4rem, 6vw, 1.9rem); }
  body { font-size: 15.5px; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 14px; }
  .card, .panel__body { padding: 20px; }
  .tile { padding: 16px; }
  .keybox { flex-direction: column; align-items: stretch; gap: 10px; font-size: .9rem; }
  .keybox > span:last-child { display: flex; gap: 6px; }
  .keybox .btn { flex: 1; }
  .dev { flex-direction: column; align-items: flex-start; }
  .dev .flex { width: 100%; }
  .dev .btn { flex: 1; }
  .lic__meta { grid-template-columns: 1fr 1fr; }
  .acc__q { padding: 16px 18px; font-size: .94rem; }
  .acc__a > div { padding: 0 18px 18px; }
}

/* Yatay taşmaya karşı son güvenlik ağı */
html, body { max-width: 100%; overflow-x: hidden; }
