/**
 * BADO Solutions - Sade UI Bileşenleri (components.css)
 * ----------------------------------------------------
 * Fazlalıklardan arındırılmış, ferah ve modern butonlar, form alanları ve kartlar.
 */

/* ============================================================
   1. BUTONLAR (Buttons)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.05rem; /* Belirgin ve büyük buton başlığı */
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

/* Birincil Buton: Turkuaz Dolgu */
.btn-primary {
  background-color: var(--color-radar-cyan);
  color: var(--bg-primary);
  box-shadow: 0 4px 18px rgba(92, 225, 230, 0.25);
}

.btn-primary:hover {
  background-color: #7ef0f4;
  color: #01101e;
  box-shadow: 0 6px 24px rgba(92, 225, 230, 0.4);
  transform: translateY(-2px);
}

/* İkincil Buton: Sade Şeffaf Çerçeve */
.btn-secondary {
  background: rgba(2, 24, 43, 0.6);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--color-radar-cyan);
  color: var(--color-radar-cyan);
  background: rgba(2, 24, 43, 0.85);
  transform: translateY(-2px);
}

/* Portal Giriş Butonu */
.btn-portal {
  background: rgba(92, 225, 230, 0.08);
  border: 1px solid rgba(92, 225, 230, 0.3);
  color: var(--color-radar-cyan);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 8px 18px;
  letter-spacing: 0.06em;
}

.btn-portal:hover {
  background: var(--color-radar-cyan);
  color: var(--bg-primary);
}

/* İndirme Butonu */
.btn-download {
  width: 100%;
  margin-top: 24px;
  padding: 12px 20px;
  font-size: 0.85rem;
}

/* HUD Köşe Kutuları (Sade görünüm için gizlendi/temizlendi) */
.hud-box {
  position: relative;
}

.hud-corner {
  display: none !important;
}

/* ============================================================
   2. FORM ELEMANLARI (Form Inputs)
   ============================================================ */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-silver);
  margin-bottom: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  background: rgba(2, 24, 43, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-radar-cyan);
  background: rgba(2, 24, 43, 0.9);
  box-shadow: 0 0 12px rgba(92, 225, 230, 0.25);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* ============================================================
   3. MODAL PENCERESİ (Client Portal Modal)
   ============================================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 14, 26, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-box {
  background: #062642;
  border: 1px solid rgba(92, 225, 230, 0.4);
  width: 100%;
  max-width: 480px;
  padding: 44px;
  border-radius: 4px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--color-radar-cyan);
}

.modal-header {
  margin-bottom: 28px;
  text-align: center;
}

.modal-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-radar-cyan);
  border: 1px solid rgba(92, 225, 230, 0.3);
  padding: 4px 10px;
  margin-bottom: 12px;
}

/* ============================================================
   4. BİLDİRİM TOASTI (Notification Toast)
   ============================================================ */
.toast-notice {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #062642;
  border-left: 4px solid var(--color-radar-cyan);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  padding: 18px 28px;
  border-radius: 2px;
  color: var(--text-white);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10000;
  transform: translateX(120%);
  transition: transform var(--transition-normal);
}

.toast-notice.show {
  transform: translateX(0);
}

.toast-icon {
  color: var(--color-radar-cyan);
  font-size: 1.3rem;
}

/* ============================================================
   5. TAKTİKSEL BUTON VARYASYONLARI & RADAR SAYFA BİLEŞENLERİ
   ============================================================ */
.btn-accent {
  background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
  color: #ffffff;
  border: 1px solid rgba(243, 156, 18, 0.5);
  box-shadow: 0 4px 20px rgba(230, 126, 34, 0.4);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: #ffffff;
  box-shadow: 0 6px 26px rgba(230, 126, 34, 0.6);
  transform: translateY(-2px);
}

.btn-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 8px #2ecc71;
  display: inline-block;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Radar İndirme ve Bilgi Kartı */
.radar-app-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  padding: 44px;
  margin: 40px auto;
  max-width: 980px;
}

.radar-app-hero-wrap {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

.radar-app-icon-box {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  background: #02182b;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(2, 24, 43, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(92, 225, 230, 0.4);
}

.radar-app-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

.radar-app-meta {
  flex: 1;
  min-width: 280px;
}

.radar-app-title {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.radar-app-desc {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.radar-specs-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.spec-pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #334155;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.spec-pill.highlight {
  background: rgba(92, 225, 230, 0.15);
  color: #0369a1;
  border-color: rgba(92, 225, 230, 0.4);
}

.radar-download-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.radar-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

@media (max-width: 860px) {
  .radar-steps-grid {
    grid-template-columns: 1fr;
  }
}

.radar-step-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 28px 24px;
  position: relative;
}

.radar-step-num {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-radar-cyan);
  margin-bottom: 12px;
}

.radar-step-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.radar-step-card p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.ini-config-box {
  background: #021323;
  color: #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.6;
  border: 1px solid rgba(92, 225, 230, 0.2);
  overflow-x: auto;
  margin-top: 16px;
}

.ini-config-box .ini-section {
  color: #38bdf8;
  font-weight: 700;
}

.ini-config-box .ini-key {
  color: #f1f5f9;
}

.ini-config-box .ini-val {
  color: #4ade80;
}

.ini-config-box .ini-comment {
  color: #64748b;
  font-style: italic;
}

/* Hero Tekil Buton Gösterimi (Her videoda sadece ilgili buton) */
.hero-step-btn {
  display: none !important;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.3s ease;
}

.hero-step-btn.active {
  display: inline-flex !important;
  opacity: 1;
  animation: heroBtnFadeIn 0.4s ease forwards;
}

@keyframes heroBtnFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

