/* =============================================================
   home.css — AdreTools Ana Sayfa Stilleri
   Tüm homepage'e özgü CSS buradadır.
   ============================================================= */

/* ── GENEL ─────────────────────────────────────────────────── */
* { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: #f0f2f7;
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero-wrap {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #1e40af 100%);
  border-radius: 24px;
  padding: 64px 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 2.5rem;
  animation: heroFade .8s ease-out both;
}

.hero-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(59,130,246,.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 90%, rgba(99,102,241,.14) 0%, transparent 55%);
  pointer-events: none;
}

.hero-grid-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border-radius: 40px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #93c5fd;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.hero-title span {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 32px;
  font-weight: 400;
}

/* Arama Kutusu */
.hero-search {
  display: flex;
  gap: 0;
  max-width: 540px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: box-shadow .25s;
}
.hero-search:focus-within {
  box-shadow: 0 0 0 3px rgba(96,165,250,.4);
  border-color: #60a5fa;
}
.hero-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 18px;
  color: #fff;
  font-size: .95rem;
  font-family: 'Inter', sans-serif;
}
.hero-search input::placeholder { color: rgba(255,255,255,.45); }
.hero-search .search-icon {
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: rgba(255,255,255,.45);
}
.hero-search .clear-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  padding: 0 14px;
  cursor: pointer;
  font-size: .85rem;
  display: none;
}

/* Hero istatistik satırı */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: #93c5fd;
}
.hero-stat-text strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
}
.hero-stat-text span {
  font-size: .75rem;
  color: #94a3b8;
  font-weight: 400;
}

/* Hero sağ taraf animasyonlu kart */
.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-desk-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(12px);
  min-width: 240px;
  animation: floatCard 4s ease-in-out infinite;
}
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.desk-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  margin-bottom: 10px;
  transition: background .2s;
}
.desk-row:last-child { margin-bottom: 0; }
.desk-row-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
}
.desk-row-text { font-size: .8rem; color: #cbd5e1; font-weight: 500; }

/* ── BÖLÜM BAŞLIĞI ───────────────────────────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}
.section-label h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -.01em;
}
.section-label .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #e2e8f0, transparent);
}

/* ── ÖNE ÇIKAN ARAÇ (SecureRoom) ────────────────────────────── */
.featured-tool-wrap {
  margin-bottom: 1.5rem;
  animation: cardRise .4s ease-out both;
}
.featured-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e3a5f 100%);
  border-radius: 20px;
  border: 1px solid rgba(59,130,246,.3);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .28s, transform .28s;
  text-decoration: none;
}
.featured-card:hover {
  box-shadow: 0 12px 40px rgba(59,130,246,.25);
  transform: translateY(-3px);
}
.featured-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 90% 50%, rgba(59,130,246,.12) 0%, transparent 65%);
  pointer-events: none;
}
.featured-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg,#1e40af,#3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(59,130,246,.4);
}
.featured-icon i { font-size: 1.4rem; color: #fff; }
.featured-content { flex: 1; }
.featured-badges { display: flex; gap: 8px; margin-bottom: 8px; }
.badge-beta {
  background: linear-gradient(135deg,#7c3aed,#a855f7);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}
.badge-new {
  background: rgba(34,197,94,.15);
  color: #22c55e;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(34,197,94,.3);
}
.featured-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 5px;
  letter-spacing: -.01em;
}
.featured-desc { font-size: .85rem; color: #94a3b8; line-height: 1.55; max-width: 560px; }
.featured-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.featured-pill {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: .72rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 5px;
}
.featured-pill i { color: #60a5fa; font-size: .7rem; }
.featured-cta {
  flex-shrink: 0;
  background: linear-gradient(135deg,#1e40af,#3b82f6);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 22px;
  font-size: .88rem;
  font-weight: 700;
  font-family: 'Inter',sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: opacity .2s;
}
.featured-cta:hover { opacity: .9; color: #fff; }

/* ── ARAÇ KARTLARI ───────────────────────────────────────────── */
.tool-item { animation: cardRise .5s ease-out both; }
.tool-item:nth-child(1)  { animation-delay: .05s; }
.tool-item:nth-child(2)  { animation-delay: .10s; }
.tool-item:nth-child(3)  { animation-delay: .15s; }
.tool-item:nth-child(4)  { animation-delay: .20s; }
.tool-item:nth-child(5)  { animation-delay: .25s; }
.tool-item:nth-child(6)  { animation-delay: .30s; }
.tool-item:nth-child(7)  { animation-delay: .05s; }
.tool-item:nth-child(8)  { animation-delay: .10s; }
.tool-item:nth-child(9)  { animation-delay: .15s; }
.tool-item:nth-child(10) { animation-delay: .20s; }
.tool-item:nth-child(11) { animation-delay: .25s; }
.tool-item:nth-child(12) { animation-delay: .30s; }
.tool-item:nth-child(13) { animation-delay: .05s; }
.tool-item:nth-child(14) { animation-delay: .10s; }
.tool-item:nth-child(15) { animation-delay: .15s; }
.tool-item:nth-child(16) { animation-delay: .20s; }

.tool-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e8ecf2;
  padding: 26px 22px 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .28s ease, border-color .28s;
  cursor: pointer;
}
.tool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15,23,42,.1);
  border-color: #c7d2fe;
}
.tool-card.popular-tool {
  border-color: #3b82f6;
  box-shadow: 0 4px 20px rgba(59,130,246,.12);
}
.tool-card.popular-tool:hover {
  box-shadow: 0 16px 40px rgba(59,130,246,.2);
}

.popular-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tool-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.tool-icon-wrap i {
  font-size: 1.3rem;
  color: #fff;
}

.tool-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.tool-desc {
  font-size: .84rem;
  color: #64748b;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}
.tool-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tool-count-badge {
  font-size: .72rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border-radius: 20px;
  padding: 3px 10px;
}
.tool-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  font-size: .8rem;
  transition: background .2s, transform .2s;
}
.tool-card:hover .tool-arrow {
  background: #3b82f6;
  color: #fff;
  transform: translateX(3px);
}
.tool-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 18px;
}

/* ── NEDEN ADRETOOLs? ────────────────────────────────────────── */
.why-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  border-radius: 24px;
  padding: 52px 40px;
  color: #fff;
  margin-top: 3rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 90% 10%, rgba(99,102,241,.15) 0%, transparent 60%);
  pointer-events: none;
}
.why-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.why-sub {
  font-size: .95rem;
  color: #94a3b8;
  margin-bottom: 36px;
}
.why-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.why-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 22px 20px;
  transition: background .25s;
}
.why-item:hover { background: rgba(255,255,255,.10); }
.why-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 14px;
}
.why-item h5 {
  font-size: .95rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 6px;
}
.why-item p {
  font-size: .8rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.55;
}

/* ── ARAMA SONUÇ SAYISI ──────────────────────────────────────── */
#searchResultsCount {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-top: 8px;
}

/* ── SONUÇ YOK ───────────────────────────────────────────────── */
#noResults {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e8ecf2;
  padding: 60px 20px;
}

/* ── ANİMASYONLAR ────────────────────────────────────────────── */
@keyframes heroFade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cardRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-wrap { padding: 36px 24px; }
  .hero-stats { gap: 18px; }
  .hero-illustration { display: none; }
  .why-section { padding: 36px 24px; }
  .featured-card { flex-direction: column; align-items: flex-start; }
  .featured-cta { width: 100%; justify-content: center; }
}
