/* NG ANALİZ — genel site stilleri */
:root {
  --bg: #eef0f3;
  --bg-white: #ffffff;
  --text: #2d3748;
  --text-muted: #718096;
  --border: #e2e8f0;
  --primary: #1a73e8;
  --primary-hover: #1557b0;
  --header-top-h: 64px;
  --header-cat-h: 44px;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
  --footer-bg: #2c2e3e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a, a:hover, a:focus, a:visited, a:active {
  color: var(--primary);
  text-decoration: none !important;
}
a:hover { color: var(--primary-hover); }
.tool-list a, .category-card a, .popular-tools-bar a, .feature-card a,
.footer-col a, .header-cat-tools a, .notif-dropdown-list a {
  text-decoration: none !important;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.header-fluid {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
  box-sizing: border-box;
}
@media (min-width: 1400px) {
  .header-fluid { padding-left: 40px; padding-right: 40px; }
}
@media (min-width: 1800px) {
  .header-fluid { padding-left: 56px; padding-right: 56px; }
}
.site-announcement {
  background: linear-gradient(90deg, #1e40af, #2563eb);
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
  padding: 10px 0;
}
.site-announcement a,
.site-announcement .announcement-slide span {
  color: #fff;
}
.site-announcement a { text-decoration: underline; }
.announcement-inner { display: flex; justify-content: center; align-items: center; }
.announcement-slider {
  position: relative;
  width: 100%;
  min-height: 1.35em;
  overflow: hidden;
}
.announcement-slide {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
  pointer-events: none;
}
.announcement-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.page-content-wrap { padding: 32px 0 48px; }
.page-content { padding: 32px; line-height: 1.7; }
.page-content h2 { margin-top: 0; }
.home-hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
}
.home-hero-stats span strong { color: var(--primary); }
.popular-tools-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.popular-tools-bar a {
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--text);
  text-decoration: none !important;
}
.popular-tools-bar a:hover { border-color: var(--primary); color: var(--primary); }
.main-content { flex: 1; }

/* ===== HEADER (R10 Analiz tarzı — kompakt arama, okunaklı menü) ===== */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 200;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  overflow: visible;
}
.header-top { border-bottom: 1px solid #eceef1; }
.header-top-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--header-top-h);
  padding: 8px 0;
  width: 100%;
}
.header-top-inner .search-wrap {
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  min-width: 200px;
}
.header-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}
.header-stats {
  display: none;
  align-items: stretch;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: linear-gradient(180deg, #fafbfc 0%, #f4f6f8 100%);
  overflow: hidden;
}
.header-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  min-width: 76px;
  border-right: 1px solid #e8ecf0;
}
.header-stat:last-child { border-right: none; }
.header-stat strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.15;
}
.header-stat span {
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
  white-space: nowrap;
}
.header-top-inner .header-actions {
  flex-shrink: 0;
  margin-left: 0;
}
.header-top-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-grid-apps,
.app-launcher-trigger {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  color: #64748b;
  background: #fff;
  text-decoration: none !important;
  transition: background .15s, border-color .15s;
}
.btn-grid-apps:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--primary);
}
.app-launcher-wrap {
  position: relative;
}
/* Tetik ile panel arası boşlukta hover kopmasın */
.app-launcher-wrap::before {
  content: '';
  position: absolute;
  left: -6px;
  right: -6px;
  top: 100%;
  height: 14px;
  z-index: 1199;
}
.app-launcher-trigger {
  cursor: default;
}
.app-launcher-wrap:hover .app-launcher-trigger,
.app-launcher-wrap:focus-within .app-launcher-trigger {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--primary);
}
.app-launcher-panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1200;
  width: max-content;
  max-width: min(92vw, 300px);
  margin-top: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: 12px solid transparent;
  border-radius: 10px;
  background-clip: padding-box;
  box-shadow: 0 12px 28px rgba(15,23,42,.15);
  padding: 10px 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
}
.app-launcher-wrap:hover .app-launcher-panel,
.app-launcher-wrap:focus-within .app-launcher-panel,
.app-launcher-wrap.is-open .app-launcher-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.app-launcher-head {
  font-size: .7rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.app-launcher-grid {
  display: grid;
  grid-template-columns: repeat(3, 82px);
  gap: 8px;
}
.app-launcher-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 10px 6px 8px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  text-decoration: none !important;
  overflow: hidden;
  transition: transform .12s, box-shadow .12s;
}
.app-launcher-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15,23,42,.08);
}
.app-launcher-icon {
  font-size: 1.25rem;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--launcher-color, #1a73e8);
  opacity: .4;
}
.app-launcher-icon .fa {
  display: block;
}
.app-launcher-title {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1.2;
  text-align: center;
  color: var(--launcher-color, #1a73e8);
}
.app-launcher-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--launcher-color, #1a73e8);
}
.logo-header {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  gap: 2px;
}
.logo-header-main {
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo-text-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
}
.logo-version {
  font-size: 0.58rem;
  font-weight: 800;
  color: #dc2626;
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 2px;
  padding-right: 1px;
  text-transform: uppercase;
}
.logo-ng-light .logo-version,
.logo-ng-light .logo-text-stack .logo-version {
  color: #f87171;
}
.logo-header-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a202c;
  letter-spacing: 0.04em;
  line-height: 1.05;
}
.logo-header-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: #64748b;
  padding-left: 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.logo-link-header { text-decoration: none !important; }
.logo-wrap { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a202c;
  letter-spacing: -0.02em;
  text-decoration: none !important;
}
.logo-link { text-decoration: none !important; display: inline-flex; align-items: center; }
.logo-ng {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-weight: 800;
}
.logo-ng .logo-text-stack {
  align-items: flex-end;
}
.logo-ng-mark {
  background: linear-gradient(135deg, #1a73e8, #0d47a1);
  color: #fff;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.logo-ng-text {
  font-size: 1.25rem;
  color: #1a202c;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.logo-ng-tagline {
  font-size: 0.8rem;
  font-weight: 500;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.logo-heart { color: #ea4335; font-size: 0.9rem; }
.logo-ng-tagline { margin-left: 4px; }
.logo-ng-light .logo-ng-text { color: #fff; }
.logo-ng-light .logo-ng-mark { background: rgba(255,255,255,.25); }
.logo-ng-sm .logo-ng-mark { padding: 4px 8px; font-size: 0.85rem; }
.logo-ng-sm .logo-ng-text { font-size: 1.05rem; }
.logo-ng-sm .logo-version { font-size: 0.5rem; margin-bottom: 1px; }
.panel-logo { margin-bottom: 20px; display: block; }
.logo-sub { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; margin-left: 8px; }

.search-wrap { flex: 0 1 auto; width: auto; min-width: 0; margin: 0; }
.search-form { position: relative; }
.search-input {
  width: 100%;
  padding: 9px 36px 9px 40px;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  background: #eef0f3;
  font-size: 0.875rem;
  line-height: 1.35;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.search-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.5rem;
  color: #94a3b8;
  pointer-events: none;
}
.search-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26,115,232,.15);
}
.search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}
.search-icon svg {
  width: 16px;
  height: 16px;
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-notify {
  width: 40px; height: 40px;
  border: none; background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #4a5568;
  position: relative;
  flex-shrink: 0;
  color: var(--text-muted);
}
.btn-notify:hover { background: #f0f4f8; color: var(--primary); }
.notif-dropdown-wrap { position: relative; display: inline-flex; align-items: center; }
.notif-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(360px, 92vw);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(15,23,42,.15);
  z-index: 500;
  overflow: hidden;
}
.notif-dropdown[hidden] { display: none !important; }
.notif-dropdown-wrap.open .notif-dropdown { display: block; }
.notif-dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.notif-dropdown-head a { font-size: 0.78rem; font-weight: 500; }
.notif-dropdown-list { list-style: none; max-height: 320px; overflow-y: auto; }
.notif-dropdown-list li { border-bottom: 1px solid #f1f5f9; }
.notif-dropdown-list li.unread { background: #f0f7ff; }
.notif-dropdown-list a {
  display: block;
  padding: 12px 16px;
  color: inherit;
  text-decoration: none !important;
}
.notif-dropdown-list a:hover { background: #f8fafc; }
.notif-dd-title { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 2px; }
.notif-dd-msg { display: block; font-size: 0.8rem; color: var(--text-muted); }
.notif-dd-time { display: block; font-size: 0.72rem; color: #94a3b8; margin-top: 4px; }
.notif-dropdown-empty { padding: 24px 16px; text-align: center; color: var(--text-muted); font-size: 0.88rem; }
.notif-dropdown-footer {
  display: block;
  text-align: center;
  padding: 12px;
  background: #f8fafc;
  font-size: 0.85rem;
  font-weight: 600;
  border-top: 1px solid var(--border);
}
.notif-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #dc2626;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.btn-login {
  padding: 10px 24px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn-login:hover { background: var(--primary-hover); color: #fff !important; }

.btn-header {
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8125rem;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn-header-primary {
  background: #1a73e8;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  padding: 9px 18px;
}
.btn-header-primary:hover { background: #1557b0; color: #fff !important; }
.btn-header-outline { background: #fff; color: var(--text) !important; border: 1px solid var(--border); }
.btn-header-dark { background: #334155; color: #fff !important; }
.btn-header-quote {
  background: #f59e0b;
  color: #0f172a !important;
  font-weight: 700;
  border: none;
  font-size: 0.8125rem;
  padding: 8px 14px;
}
.btn-header-quote:hover {
  background: #fbbf24;
  color: #0f172a !important;
}
.btn-header-quote--in {
  padding: 8px 12px;
  font-size: 0.8rem;
}
.nav-toggle-mobile {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
  padding: 0;
}
.nav-toggle-mobile:hover { background: #f1f5f9; border-color: #cbd5e1; }

/* Alt kategori menüsü */
.header-cat-nav {
  background: #fff;
  overflow: visible;
  position: relative;
  z-index: 210;
  border-bottom: 1px solid #eceef1;
}
.header-cat-nav-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: var(--header-cat-h);
  overflow: visible;
  flex-wrap: nowrap;
}
.header-cat-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}
.header-cat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 0 12px;
  height: var(--header-cat-h);
  background: none;
  border: none;
  border-right: 1px solid #eceef1;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.header-cat-item:first-child .header-cat-btn { border-left: 1px solid #eceef1; }
.header-cat-btn:hover,
.header-cat-item.open .header-cat-btn {
  color: var(--primary);
  background: #f8fafc;
}
.header-cat-icon {
  display: flex;
  align-items: center;
  opacity: .88;
  flex-shrink: 0;
}
.header-cat-icon svg {
  width: 15px;
  height: 15px;
}
.header-cat-label {
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-cat-chevron {
  font-size: 0.45rem;
  color: #94a3b8;
  margin-left: 1px;
  flex-shrink: 0;
  transition: transform .2s;
}
.header-cat-item.open .header-cat-chevron { transform: rotate(180deg); }
.header-cat-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  max-width: 320px;
  max-height: 420px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--cat-color, var(--primary));
  border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  z-index: 300;
  padding: 8px 0 10px;
}
.header-cat-item.open .header-cat-dropdown { display: block; }
.header-cat-tools { list-style: none; }
.header-cat-tools a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 0.84rem;
  color: #475569;
  text-decoration: none !important;
  transition: background .12s, color .12s;
}
.header-cat-tools a:hover {
  background: #f1f5f9;
  color: var(--primary);
}
.header-cat-tools a svg { flex-shrink: 0; color: #94a3b8; }
.header-cat-more {
  display: block;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary) !important;
  border-top: 1px solid #f1f5f9;
  text-decoration: none !important;
}
.header-cat-more:hover { background: #f0f7ff; }

/* Category nav - legacy hidden */
.cat-nav {
  display: none;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cat-nav-inner {
  display: flex;
  gap: 4px;
  padding: 8px 0 12px;
  min-width: max-content;
}
.cat-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 6px;
  text-decoration: none !important;
}
.cat-nav a:hover { background: #f0f4f8; color: var(--primary); }
.cat-nav a.active { background: #e8f0fe; color: var(--primary); }
.cat-nav .nav-icon { font-size: 1rem; opacity: .7; }

/* ===== MAIN TOOLS AREA ===== */
.tools-section { padding: 28px 0 48px; }
.tools-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.tools-header h1 { font-size: 1.75rem; font-weight: 700; color: #1a202c; }
.view-toggle { display: flex; gap: 4px; }
.view-toggle button {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-muted);
}
.view-toggle button.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.limit-bar {
  background: #e8f0fe;
  border: 1px solid #c5d9f7;
  border-radius: var(--radius);
  padding: 10px 16px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.limit-bar strong { color: var(--primary); }

/* Category cards grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tools-grid.list-view { grid-template-columns: 1fr; }

.category-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.category-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px;
}
.category-card-header h2 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a202c;
}
.tool-count-badge {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: #f0f2f5;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 500;
}
.category-card-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  opacity: .85;
}
.category-accent {
  height: 3px;
  margin: 0 18px;
  border-radius: 2px;
}
.tool-list {
  list-style: none;
  padding: 8px 0;
  flex: 1;
}
.tool-list li { border-bottom: 1px solid #f0f2f5; }
.tool-list li:last-child { border-bottom: none; }
.tool-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  color: var(--text);
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: background .15s;
}
.tool-list a:hover { background: #f8fafc; color: var(--primary); }
.tool-list a.hidden-tool { display: none; }
.tool-list .tool-item-icon { color: var(--text-muted); font-size: 0.85rem; opacity: .6; }

.category-card-footer {
  padding: 12px 18px;
  border-top: 1px solid #f0f2f5;
}
.show-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 4px;
}
.show-more-btn:hover { background: #f0f7ff; }
.show-more-btn .chevron { transition: transform .2s; }
.show-more-btn.expanded .chevron { transform: rotate(180deg); }

.category-note {
  padding: 8px 18px 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

.empty-db {
  text-align: center;
  padding: 48px 24px;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius);
  margin: 24px 0;
}
.empty-db a { font-weight: 600; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--footer-bg);
  color: #a0aec0;
  margin-top: auto;
}
.footer-main {
  display: grid;
  grid-template-columns: repeat(5, 1fr) minmax(240px, 280px);
  gap: 28px 24px;
  padding: 44px 0 28px;
}
.footer-col h4 {
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3b82f6;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col-icon { display: flex; align-items: center; opacity: .9; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 6px; }
.footer-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.82rem;
  text-decoration: none !important;
  line-height: 1.35;
  transition: color .15s;
}
.footer-col a:hover { color: #fff; }
.footer-tool-icon { flex-shrink: 0; opacity: .55; }
.footer-col a:hover .footer-tool-icon { opacity: 1; stroke: #fff; }

.footer-brand {
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,.12);
}
.footer-brand-top {
  margin-bottom: 0;
}
.footer-brand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 4px;
}
.footer-forum-btn {
  flex-shrink: 0;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px;
  color: #e2e8f0 !important;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none !important;
  background: rgba(0,0,0,.2);
}
.footer-forum-btn:hover { background: rgba(255,255,255,.1); color: #fff !important; }
.footer-brand p {
  font-size: 0.84rem;
  margin: 12px 0 16px;
  line-height: 1.65;
  color: #94a3b8;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--social-color, #64748b);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 1rem;
  text-decoration: none !important;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.footer-social-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.footer-social-btn .fa {
  line-height: 1;
}
.footer-legal { display: flex; flex-direction: column; gap: 8px; }
.footer-legal-btn {
  display: block;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  color: #cbd5e1 !important;
  font-size: 0.78rem;
  text-decoration: none !important;
  text-align: center;
  background: rgba(0,0,0,.15);
  transition: background .15s, border-color .15s;
}
.footer-legal-btn:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.3);
  color: #fff !important;
}

.footer-expand {
  text-align: center;
  padding: 0 0 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 4px;
}
.footer-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 36px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.25);
  color: #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-family: inherit;
  transition: background .15s;
}
.footer-expand-btn:hover { background: rgba(255,255,255,.08); }
.footer-expand-chevron { font-size: 0.65rem; transition: transform .2s; }
.footer-expand-btn.open .footer-expand-chevron { transform: rotate(180deg); }
.footer-more {
  display: none;
  padding: 0 0 28px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-more.open { display: block; }
.footer-more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: #64748b;
}
.footer-copy { color: #94a3b8; }
.footer-brand-mini { opacity: .9; }
.footer-meta { color: #64748b; font-size: 0.78rem; }

/* Tool page */
.tool-page { padding: 24px 0 48px; }
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }
.tool-page-header {
  background: #fff;
  border-radius: var(--radius);
  border-top: 4px solid var(--accent, var(--primary));
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  overflow: hidden;
}
.tool-page-header-inner { padding: 28px 32px; }
.tool-page-header h1 { font-size: 1.65rem; margin-bottom: 8px; color: #0f172a; }
.tool-desc { color: var(--text-muted); margin-bottom: 0; }
.tool-limit-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
}
.tool-hero-card .tool-fav-form { margin: 0; }
.tool-hero-card .btn-favorite {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  cursor: pointer;
  color: #475569;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.tool-hero-card .btn-favorite:hover {
  border-color: #fbbf24;
  color: #b45309;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.25);
}
.tool-hero-card .btn-favorite.active {
  border-color: #f59e0b;
  color: #d97706;
  background: #fffbeb;
}
.tool-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.tool-layout > * { min-width: 0; }
.tool-result-wrap {
  width: 100%;
  min-width: 0;
}
.tool-form { min-width: 0; }
.tool-form-title { font-size: 1rem; margin-bottom: 20px; color: #334155; }
.btn-analyze { width: 100%; margin-top: 8px; }
.btn-analyze span { margin-right: 6px; }
.tool-result-placeholder {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-muted);
}
.placeholder-icon { font-size: 3rem; margin-bottom: 12px; opacity: .5; }
.result-actions { display: none; }
.btn-outline { background: #fff; border: 1px solid var(--border); color: var(--text) !important; }

/* Professional results */
.result-pro {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  width: 100%;
}
.result-pro-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-bottom: 1px solid #bbf7d0;
}
.result-status-text { display: flex; flex-direction: column; gap: 2px; }
.result-pro-error .result-pro-header { background: linear-gradient(135deg, #fef2f2, #fee2e2); border-color: #fecaca; }
.result-pro-status { display: flex; align-items: center; gap: 14px; }
.result-icon {
  width: 40px; height: 40px;
  background: #16a34a;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700;
}
.result-pro-fail .result-icon { background: #dc2626; }
.result-pro-status strong { display: block; font-size: 1rem; color: #0f172a; }
.result-time { font-size: 0.8rem; color: #64748b; }
.result-score-ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 4px solid #16a34a;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.25rem; color: #16a34a;
}
.result-score-ring small { font-size: 0.6rem; font-weight: 500; }
.result-score-ring.score-mid { border-color: #eab308; color: #ca8a04; }
.result-score-ring.score-bad { border-color: #ef4444; color: #dc2626; }
.result-pro > .result-section,
.result-pro > .result-metrics,
.result-pro > .result-row { margin: 0; }
.result-section { padding: 20px 24px; border-bottom: 1px solid #f1f5f9; }
.result-section-title { font-size: 0.9rem; font-weight: 700; color: #334155; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .03em; }
.result-count { font-weight: 400; color: #94a3b8; font-size: 0.8rem; }
.result-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  padding: 20px 24px;
  width: 100%;
}
.result-metric-value { word-break: break-word; }
.result-metric {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px;
}
.result-metric-label { display: block; font-size: 0.75rem; color: #64748b; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
.result-metric-value { font-size: 1rem; font-weight: 600; color: #0f172a; word-break: break-word; }
.result-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  border-bottom: 1px solid #f8fafc;
  font-size: 0.9rem;
}
.result-row-label { color: #64748b; flex-shrink: 0; }
.result-row-value { text-align: right; color: #0f172a; font-weight: 500; }
.result-badge { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; }
.badge-ok { background: #dcfce7; color: #166534; }
.badge-fail { background: #fee2e2; color: #991b1b; }
.badge-warn { background: #fef3c7; color: #92400e; }
.badge-info { background: #dbeafe; color: #1e40af; }
.result-table-wrap { overflow-x: auto; margin-top: 8px; }
.result-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.result-table th { background: #f1f5f9; padding: 10px 12px; text-align: left; font-weight: 600; color: #475569; }
.result-table td { padding: 10px 12px; border-bottom: 1px solid #f1f5f9; }
.result-table tr:hover td { background: #fafbfc; }
.result-list { list-style: none; padding-left: 0; }
.result-list li { padding: 6px 0; border-bottom: 1px solid #f1f5f9; font-size: 0.9rem; }
.result-issues { background: #fffbeb; }
.result-issues ul { margin: 0; padding-left: 20px; }
.result-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.result-tag { background: #e0e7ff; color: #3730a3; padding: 6px 12px; border-radius: 20px; font-size: 0.85rem; }
.result-tag em { font-style: normal; opacity: .7; margin-left: 4px; }
.result-code-block { background: #1e293b; color: #e2e8f0; padding: 16px; border-radius: 8px; font-size: 0.8rem; overflow-x: auto; max-height: 300px; }
.result-highlight { background: #f0fdf4; border: 2px dashed #16a34a; padding: 20px; border-radius: 8px; text-align: center; margin: 16px 0; }
.result-highlight code { display: block; font-size: 1.25rem; margin-top: 8px; word-break: break-all; }
.result-qr { max-width: 200px; border-radius: 8px; }

/* İletişim sayfası */
.contact-page {
  padding: 36px 16px 56px;
  background: #f1f5f9;
}
.contact-page-inner {
  max-width: 560px;
  margin: 0 auto;
}
.contact-hero {
  text-align: center;
  margin-bottom: 24px;
}
.contact-hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.contact-hero-title {
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}
.contact-hero-lead {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.55;
}
.contact-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.05);
}
.contact-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.contact-channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background 0.15s, border-color 0.15s;
}
.contact-channel:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}
.contact-channel--wa:hover {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #15803d;
}
.contact-channel i {
  font-size: 1rem;
  opacity: 0.85;
}
.contact-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.8rem;
  color: #64748b;
}
.contact-meta-line span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.contact-form .form-group {
  margin-bottom: 14px;
}
.contact-form .form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 5px;
}
.contact-form .form-control {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 0.95rem;
  background: #fff;
}
.contact-form .form-control:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-form-captcha {
  margin: 4px 0 14px;
}
.contact-form .contact-captcha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.contact-captcha-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}
.contact-form .contact-captcha-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-form .contact-captcha-badge {
  display: none;
}
.contact-form .contact-captcha-title {
  display: none;
}
.contact-form .contact-captcha-q {
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}
.contact-form .contact-captcha-q::before {
  content: 'Doğrulama: ';
  font-weight: 500;
  color: #94a3b8;
}
.contact-form .contact-captcha-input {
  width: 80px !important;
  max-width: 80px;
  flex: 0 0 80px;
  margin: 0 !important;
  padding: 8px 10px !important;
  text-align: center;
}
.contact-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
}
.contact-form-note {
  margin: 10px 0 0;
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
}
.contact-hp,
.contact-hp[hidden] {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .contact-page { padding: 24px 12px 40px; }
  .contact-panel { padding: 18px 16px; }
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-channels {
    flex-direction: column;
  }
  .contact-channel {
    width: 100%;
    justify-content: flex-start;
  }
  .contact-form .contact-captcha {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-form .contact-captcha-input {
    width: 100% !important;
    max-width: none;
    flex: 1 1 auto;
  }
}

/* Forms & buttons */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 0.9rem; }
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}
textarea.form-control { min-height: 120px; resize: vertical; }
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: none !important;
}
.btn-primary { background: var(--primary); color: #fff !important; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-lg { padding: 12px 28px; font-size: 1rem; }
.btn-sm { padding: 6px 14px; font-size: 0.85rem; }
.btn-block { display: block; width: 100%; text-align: center; }

.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 0.9rem; }
.alert-success { background: #d1fae5; color: #065f46; }
.alert-error { background: #fee2e2; color: #991b1b; }

/* Packages */
.grid-packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 32px; }
.package-card { text-align: center; padding: 28px; }
.package-card.featured { border: 2px solid var(--primary); }
.package-price { font-size: 2rem; font-weight: 700; margin: 12px 0; }
.package-features { list-style: none; text-align: left; margin: 16px 0; }
.package-features li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }

/* Giriş / kayıt sayfaları */
.auth-page {
  padding: 40px 0 64px;
}
.auth-page-inner {
  max-width: 920px;
}
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.auth-brand {
  background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 100%);
  color: #e2e8f0;
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
}
.auth-brand-logo-link {
  display: inline-block;
  margin-bottom: 24px;
  text-decoration: none !important;
}
.auth-brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.auth-brand-lead {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #94a3b8;
  margin: 0 0 22px;
}
.auth-brand-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: auto;
}
.auth-brand-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 0.86rem;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.auth-brand-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 111, 209, 0.25);
}
.auth-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
}
.auth-form-head {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
}
.auth-form-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.auth-form-sub {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.auth-form .form-guard-captcha,
.auth-form .contact-captcha {
  margin-bottom: 20px;
}
.auth-form .contact-captcha-title {
  display: inline;
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
}
.auth-form .contact-captcha-q {
  font-size: 0.86rem;
  font-weight: 600;
  color: #475569;
}
.auth-form .form-group {
  margin-bottom: 18px;
}
.auth-form .form-group label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 7px;
}
.auth-form .form-control {
  padding: 11px 14px;
  border-radius: 8px;
  border-color: #e2e8f0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.auth-form .form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 111, 209, 0.12);
}
.auth-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.auth-field-hint {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 20px;
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.5;
  cursor: pointer;
}
.auth-check input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}
.auth-check a {
  color: var(--primary);
  font-weight: 600;
}
.auth-submit {
  width: 100%;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 1rem;
}
.auth-form-foot {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}
.auth-form-foot p {
  margin: 0 0 8px;
  font-size: 0.88rem;
}
.auth-form-foot p:last-child {
  margin-bottom: 0;
}
.auth-form-foot a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none !important;
}
.auth-form-foot a:hover {
  text-decoration: underline !important;
}
.auth-form-alt {
  color: var(--text-muted);
}
.auth-form-alt strong,
.auth-form-alt a strong {
  color: var(--primary);
}
.auth-form-alt--block {
  margin: 16px 0 0;
}
.auth-form-actions-inline {
  margin: 8px 0 4px;
}
.auth-form-actions-inline .auth-submit {
  display: block;
  text-align: center;
}
.auth-code-group {
  margin-bottom: 8px;
}
.auth-code-input {
  text-align: center;
  font-size: 1.5rem !important;
  font-weight: 700;
  letter-spacing: 0.35em;
  padding: 14px 16px !important;
}
.auth-info-box {
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}
.auth-info-box p {
  margin: 0;
}

/* Eski sınıf uyumluluğu */
.auth-card {
  max-width: none;
  width: 100%;
}

@media (max-width: 768px) {
  .auth-page {
    padding: 28px 0 48px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-brand {
    padding: 22px 20px;
  }
  .auth-brand-list {
    margin-top: 16px;
  }
  .auth-form-card {
    padding: 24px 18px;
  }
  .auth-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .auth-code-input {
    letter-spacing: 0.25em;
    font-size: 1.35rem !important;
  }
}

/* Panel/Admin - keep minimal */
.panel-body, .admin-body { display: flex; min-height: 100vh; }
.panel-sidebar, .admin-sidebar {
  width: 240px; background: #1e293b; color: #fff; padding: 20px; flex-shrink: 0;
}
.panel-sidebar a, .admin-sidebar a {
  display: block; color: #94a3b8; padding: 10px 12px; border-radius: 6px; margin-bottom: 4px; text-decoration: none !important;
}
.panel-sidebar a:hover, .panel-sidebar a.active { background: rgba(255,255,255,.1); color: #fff; }
.panel-main, .admin-main { flex: 1; padding: 24px; background: var(--bg); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; }

.install-card { max-width: 560px; margin: 60px auto; }

/* Checkout & Payment */
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }
.checkout-price { font-size: 2rem; font-weight: 700; color: var(--primary); margin: 12px 0; }
.checkout-price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.payment-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.payment-option {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; border: 2px solid var(--border); border-radius: 8px; cursor: pointer;
}
.payment-option:has(input:checked) { border-color: var(--primary); background: #f0f7ff; }
.payment-card { max-width: 720px; margin: 0 auto; }
.payment-status { text-align: center; padding: 32px 20px; border-bottom: 1px solid var(--border); }
.status-icon { font-size: 3rem; display: block; margin-bottom: 12px; }
.info-table { width: 100%; margin: 16px 0; }
.info-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.info-table td:first-child { color: var(--text-muted); width: 140px; }
.payment-hint { background: #fff8e1; padding: 12px; border-radius: 6px; font-size: 0.9rem; margin-top: 12px; }
.packages-hero { background: linear-gradient(135deg, #1e3a8a, #2563eb); color: #fff; padding: 48px 20px; text-align: center; }
.packages-hero h1 { font-size: 2.25rem; margin-bottom: 8px; }
.current-package-badge { margin-top: 16px; background: rgba(255,255,255,.2); display: inline-block; padding: 8px 16px; border-radius: 20px; }
.package-badge { position: absolute; top: -10px; right: 16px; background: var(--primary); color: #fff; font-size: 0.75rem; padding: 4px 12px; border-radius: 12px; }
.package-card { position: relative; }
.btn-login-secondary { background: #4a5568 !important; }
.btn-login-dark { background: #2d3748 !important; }
.notif-item { margin-bottom: 12px; }
.notif-unread { border-left: 4px solid var(--primary); }
.quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 12px; }
.quick-action { padding: 20px; text-align: center; text-decoration: none !important; color: inherit; font-weight: 600; }
.quick-action:hover { border-color: var(--primary); }
.badge-cancelled { background: #fee2e2; color: #991b1b; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-review { background: #dbeafe; color: #1e40af; }
.badge-paid { background: #dcfce7; color: #166534; }
.payment-status-review { background: linear-gradient(135deg, #eff6ff, #dbeafe); }
.bank-preview-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.bank-preview-box code { font-size: 0.85rem; word-break: break-all; }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th {
  background: #f8fafc;
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  color: #475569;
  border-bottom: 2px solid #e2e8f0;
}
.data-table td { padding: 12px 14px; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
.data-table tr:hover td { background: #fafbfc; }
.data-table code { font-size: 0.85rem; background: #f1f5f9; padding: 2px 6px; border-radius: 4px; }

@media (max-width: 768px) {
  .checkout-grid { grid-template-columns: 1fr; }
}

/* Search highlight */
.tool-list a.search-match { background: #fff8e1; }

@media (min-width: 1100px) {
  .header-stats { display: flex; }
}
@media (max-width: 1320px) {
  .header-stat {
    padding: 6px 12px;
    min-width: 64px;
  }
  .header-stat strong { font-size: 0.95rem; }
  .header-stat span { font-size: 0.6rem; }
  .header-cat-btn {
    font-size: 0.8125rem;
    padding: 0 8px;
    gap: 5px;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(3, 1fr); }
  .footer-brand {
    grid-column: 1 / -1;
    border-left: none;
    padding-left: 0;
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .footer-more-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .tool-layout { grid-template-columns: 1fr; }
  .nav-mega-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-mega-menu { min-width: 100%; left: 0; right: 0; }
}
@media (max-width: 768px) {
  :root { --header-top-h: auto; }

  .header-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }

  .header-top-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 8px;
    row-gap: 8px;
    min-height: 0;
    padding: 8px 0 10px;
  }

  .header-top-left {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: none;
    overflow: hidden;
  }

  .header-top-left .logo-link-header {
    min-width: 0;
    flex-shrink: 1;
    overflow: hidden;
  }

  .header-top-left .logo-header {
    min-width: 0;
  }

  .header-top-left .logo-header-main {
    min-width: 0;
    gap: 5px;
  }

  .header-top-left .logo-header-text { font-size: 1rem; }
  .header-top-left .logo-ng-text { font-size: 1.05rem; }
  .header-top-left .logo-text-stack {
    position: relative;
    display: inline-block;
    align-items: flex-end;
    max-width: 100%;
  }
  .header-top-left .logo-version {
    position: absolute;
    top: -3px;
    right: 0;
    font-size: 0.48rem;
    margin: 0;
    line-height: 1;
  }
  .header-top-left .logo-header-text {
    display: block;
    padding-right: 4px;
    white-space: nowrap;
  }
  .header-top-left .logo-ng-mark {
    padding: 4px 7px;
    font-size: 0.82rem;
    flex-shrink: 0;
  }
  .logo-header-sub { display: none; }

  body.has-header-quote .logo-header-text {
    font-size: 0.92rem;
  }
  body.has-header-quote .logo-header-main {
    margin-right: 0;
  }

  .header-top-right {
    grid-column: 2;
    grid-row: 1;
    margin-left: 0;
    gap: 4px;
    justify-self: end;
  }

  .header-actions {
    flex: 0 0 auto;
    gap: 4px;
    flex-wrap: nowrap;
  }

  body.has-header-quote .btn-header-quote,
  body.has-header-quote .btn-header-quote--in {
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    font-size: 0;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
  }
  body.has-header-quote .btn-header-quote::before {
    content: '₺';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
  }

  .search-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .search-input {
    padding: 11px 36px 11px 42px;
    font-size: 0.92rem;
    border-radius: 10px;
  }

  .search-icon { left: 14px; }
  .search-chevron { right: 12px; }

  .btn-notify {
    width: 36px;
    height: 36px;
  }

  .btn-header {
    padding: 0 10px;
    min-height: 36px;
    font-size: 0.72rem;
  }

  .btn-header-primary {
    padding: 0 10px;
    min-height: 36px;
    font-size: 0.68rem;
    letter-spacing: 0.03em;
  }

  .nav-toggle-mobile {
    display: inline-flex;
    width: 36px;
    height: 36px;
  }

  .header-actions .btn-header-outline,
  .header-actions .btn-header-dark {
    padding: 0;
    width: 36px;
    height: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
  }

  .header-actions .btn-header-outline::after {
    content: '';
    width: 18px;
    height: 18px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  .header-actions .btn-header-dark::after {
    content: '';
    width: 18px;
    height: 18px;
    background: #fff;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 2l2 4h4l-3 3 1 5-4-2-4 2 1-5-3-3h4z'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 2l2 4h4l-3 3 1 5-4-2-4 2 1-5-3-3h4z'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  .tools-grid { grid-template-columns: 1fr; }

  .header-cat-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    z-index: 199;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header-cat-nav.open { display: block; }

  body.header-nav-open { overflow: hidden; }

  .header-cat-nav-inner {
    flex-direction: column;
    overflow: visible;
    padding: 0;
  }

  .header-cat-btn {
    width: 100%;
    border: none;
    border-bottom: 1px solid #f0f2f5;
    justify-content: flex-start;
    height: 48px;
    padding: 0 16px;
  }

  .header-cat-item:first-child .header-cat-btn { border-left: none; }

  .header-cat-dropdown {
    position: static;
    display: none;
    max-width: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    max-height: none;
    padding-left: 12px;
    background: #f8fafc;
  }

  .header-cat-item.open .header-cat-dropdown { display: block; }

  .notif-dropdown {
    right: 0;
    left: auto;
    width: min(340px, calc(100vw - 24px));
  }

  /* Panel: tam ekran genişliğinde yatay orta */
  .app-launcher-wrap::before {
    left: -8px;
    right: -8px;
    top: 100%;
    height: 14px;
    position: absolute;
  }
  .app-launcher-wrap.is-open::before {
    position: fixed;
    inset: 0;
    left: 0;
    right: 0;
    top: 0;
    height: auto;
    z-index: 1198;
    background: rgba(15, 23, 42, 0.45);
    pointer-events: auto;
  }

  body.app-launcher-open {
    overflow: hidden;
  }

  .app-launcher-trigger {
    position: relative;
    z-index: 1201;
  }

  .app-launcher-head {
    text-align: center;
  }

  .app-launcher-wrap:hover .app-launcher-panel,
  .app-launcher-wrap:focus-within .app-launcher-panel {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .app-launcher-panel {
    position: fixed;
    left: 50%;
    right: auto;
    top: var(--app-launcher-top, 72px);
    transform: translateX(-50%);
    width: min(300px, calc(100vw - 24px));
    max-width: min(300px, calc(100vw - 24px));
    margin-top: 0;
  }

  .app-launcher-wrap.is-open .app-launcher-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-more-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .footer-brand {
    text-align: center;
  }
  .footer-brand-top,
  .footer-brand-actions {
    justify-content: center;
  }
  .footer-brand-actions {
    display: flex;
  }
  .footer-social {
    justify-content: center;
    width: 100%;
    margin-bottom: 14px;
  }
  .footer-social-btn {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .header-top-left .logo-header-text {
    font-size: 0.88rem;
  }

  .btn-grid-apps,
  .app-launcher-trigger {
    width: 34px;
    height: 34px;
  }

  .app-launcher-grid {
    grid-template-columns: repeat(3, 76px);
    gap: 6px;
  }

  .app-launcher-card {
    min-height: 66px;
    padding: 8px 4px 6px;
  }

  .btn-header-primary {
    padding: 0 8px;
    font-size: 0.65rem;
    letter-spacing: 0.02em;
  }
}
