/* ==========================================================================
   Gerilla TV — Landing Page Stilleri
   ========================================================================== */

/* --------------------------------------------------------------------------
   Üst Menü (Header)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(6, 8, 15, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--stroke);
}
.site-header .container { display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center; font-size: 20px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-amber-soft));
  box-shadow: var(--shadow-red);
  flex-shrink: 0;
}
.brand-name { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; line-height: 1.1; }
.brand-sub { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 14px; border-radius: 9px; font-size: 0.88rem; font-weight: 600;
  color: var(--text-soft); transition: background var(--t-fast), color var(--t-fast);
}
.nav a:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
}

/* --------------------------------------------------------------------------
   Kahraman Bölümü (Hero)
   -------------------------------------------------------------------------- */
.hero { padding: clamp(48px, 9vw, 110px) 0 clamp(40px, 7vw, 80px); position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin: 18px 0 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; }
.hero-stat .n { font-size: 1.7rem; font-weight: 800; }
.hero-stat .l { font-size: 0.76rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* Kahraman görseli — "şimdi çalan" kartı */
.hero-visual { position: relative; }
.now-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  padding: 22px;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: var(--shadow-lg);
  animation: rise 0.8s var(--ease) both;
}
.now-card .cover {
  width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(225,29,46,0.35), rgba(245,158,11,0.28));
  display: grid; place-items: center; font-size: 3.4rem; margin-bottom: 18px;
  overflow: hidden;
}
.now-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.now-card .title { font-weight: 700; font-size: 1.05rem; }
.now-card .artist { color: var(--muted); font-size: 0.86rem; margin-top: 3px; }
.now-card .bar { margin-top: 16px; }
.now-card .times { display: flex; justify-content: space-between; font-size: 0.74rem; color: var(--muted); margin-top: 7px; }
.floating-badge {
  position: absolute; top: -14px; right: -10px;
  animation: floaty 4s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* --------------------------------------------------------------------------
   Bölüm Başlıkları
   -------------------------------------------------------------------------- */
.section { padding: clamp(46px, 7vw, 84px) 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { margin: 14px 0 14px; }

/* --------------------------------------------------------------------------
   Özellik Kartları
   -------------------------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feature {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.feature:hover { transform: translateY(-5px); border-color: var(--stroke-strong); box-shadow: var(--shadow-lg); }
.feature .ic {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  font-size: 24px; margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--stroke);
}
.feature.red .ic { background: rgba(225, 29, 46, 0.14); border-color: rgba(225, 29, 46, 0.3); }
.feature.amber .ic { background: rgba(245, 158, 11, 0.14); border-color: rgba(245, 158, 11, 0.3); }
.feature.green .ic { background: rgba(16, 185, 129, 0.14); border-color: rgba(16, 185, 129, 0.3); }
.feature h3 { margin-bottom: 9px; }
.feature p { color: var(--text-soft); font-size: 0.92rem; }
.feature .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.feature .tags code {
  font-family: var(--font-mono); font-size: 0.76rem;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--stroke);
  padding: 3px 9px; border-radius: 7px; color: var(--brand-amber-soft);
}

/* --------------------------------------------------------------------------
   Komut Tablosu
   -------------------------------------------------------------------------- */
.cmd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.cmd-group { background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius-lg); padding: 22px; }
.cmd-group h3 { font-size: 1rem; margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }
.cmd-row { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--stroke); }
.cmd-row:last-child { border-bottom: none; }
.cmd-row code {
  font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600;
  color: var(--brand-amber-soft); white-space: nowrap;
}
.cmd-row span { color: var(--muted); font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   Adım Adım Rehber
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px 22px 22px; background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius-lg); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -16px; left: 22px;
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: 1rem; color: #fff;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-amber-soft));
  box-shadow: var(--shadow-red);
}
.step h3 { margin: 14px 0 8px; font-size: 1.02rem; }
.step p { color: var(--text-soft); font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   Çağrı (CTA) Bölümü
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(38px, 6vw, 66px);
  background: linear-gradient(135deg, rgba(225, 29, 46, 0.22), rgba(245, 158, 11, 0.16));
  border: 1px solid var(--stroke-strong);
  text-align: center;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% 0%, rgba(255,255,255,0.08), transparent 70%);
  pointer-events: none;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band .lead { margin: 0 auto 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* --------------------------------------------------------------------------
   Alt Bilgi (Footer)
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--stroke); padding: 40px 0 30px; margin-top: 40px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: flex-start; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; color: var(--text-soft); font-size: 0.88rem; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--brand-amber-soft); }
.footer-bottom { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--stroke); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: 0.8rem; }

/* --------------------------------------------------------------------------
   Mobil Menü
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 39;
  background: rgba(6, 8, 15, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 6px;
  animation: fade var(--t) var(--ease) both;
}
.mobile-menu a { padding: 15px 16px; border-radius: var(--radius-sm); font-size: 1.02rem; font-weight: 600; border: 1px solid var(--stroke); }
.mobile-menu a:hover { background: rgba(255, 255, 255, 0.06); }

/* --------------------------------------------------------------------------
   Demo / Ekran Görüntüleri
   -------------------------------------------------------------------------- */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.demo-shot { display: flex; flex-direction: column; gap: 14px; }
.demo-frame {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-solid);
  box-shadow: var(--shadow);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.demo-shot:hover .demo-frame { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--stroke-strong); }
.demo-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--stroke);
}
:root[data-theme="light"] .demo-bar { background: rgba(15, 23, 42, 0.04); }
.demo-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted-2); }
.demo-bar .dot:nth-child(1) { background: #ff5f57; }
.demo-bar .dot:nth-child(2) { background: #febc2e; }
.demo-bar .dot:nth-child(3) { background: #28c840; }
.demo-title { margin-left: 8px; font-size: 0.76rem; color: var(--muted); font-weight: 600; }
.demo-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 190px; }
.chat-line { display: flex; flex-direction: column; gap: 3px; max-width: 92%; }
.chat-line .who { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.chat-line .msg {
  padding: 9px 13px; border-radius: 13px; font-size: 0.84rem; line-height: 1.45;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--stroke);
}
:root[data-theme="light"] .chat-line .msg { background: rgba(15, 23, 42, 0.04); }
.chat-line.user { align-self: flex-end; align-items: flex-end; }
.chat-line.user .msg { background: rgba(225, 29, 46, 0.14); border-color: rgba(225, 29, 46, 0.3); }
.chat-line.bot .msg { background: rgba(16, 185, 129, 0.10); border-color: rgba(16, 185, 129, 0.26); }
.demo-shot figcaption { font-size: 0.82rem; color: var(--muted); text-align: center; font-weight: 600; }

/* --------------------------------------------------------------------------
   Açık Tema İnce Ayarları (Light Theme Overrides)
   Koyu tema için sabitlenmiş (hardcoded) renkleri açık temada düzeltir.
   -------------------------------------------------------------------------- */
:root[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: var(--stroke);
}
:root[data-theme="light"] .nav a:hover,
:root[data-theme="light"] .mobile-menu a:hover { background: rgba(15, 23, 42, 0.06); }
:root[data-theme="light"] .feature .ic,
:root[data-theme="light"] .feature .tags code { background: rgba(15, 23, 42, 0.05); }
:root[data-theme="light"] .feature .tags code { color: #b45309; }
:root[data-theme="light"] .mobile-menu { background: rgba(255, 255, 255, 0.98); }
:root[data-theme="light"] .cta-band::after {
  background: radial-gradient(600px 300px at 50% 0%, rgba(255, 255, 255, 0.5), transparent 70%);
}
:root[data-theme="light"] .step::before { color: #fff; }
:root[data-theme="light"] .demo-frame { background: var(--surface-solid); }
