/* =============================================================
   ARAÇLAR V6.0 - ANILIST DESIGN SYSTEM
   ============================================================= */

.tools-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem 3rem;
}

/* --- HERO --- */
.tools-hero {
    text-align: center;
    padding: 2rem 0 2.5rem;
}
.tools-hero-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: var(--accent-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--accent);
    border: 1px solid rgba(61,180,242,0.15);
}
.tools-hero h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-bright);
    margin: 0 0 0.5rem;
}
.tools-hero p {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- İSTATİSTİKLER --- */
.tools-stats {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}
.tools-stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--text-secondary);
}
.tools-stat i { font-size: 0.65rem; color: var(--accent); }
.tools-stat strong { color: var(--text-bright); font-weight: 700; }

/* --- GİRİŞ UYARI BANNER --- */
.tools-login-banner {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
}
.tools-login-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--purple, #c063f5), var(--accent));
}
.tools-login-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--accent-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
    color: var(--accent);
}
.tools-login-banner h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-bright);
    margin: 0 0 0.5rem;
}
.tools-login-banner p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0 0 1.25rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.tools-login-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.tools-login-btn {
    padding: 10px 24px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border: none;
}
.tools-login-btn.primary {
    background: var(--accent);
    color: #fff;
}
.tools-login-btn.primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.tools-login-btn.secondary {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.tools-login-btn.secondary:hover { border-color: var(--accent); color: var(--accent); }

/* --- BÖLÜM BAŞLIKLARI --- */
.tools-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}
.tools-section-header h2 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-bright);
    margin: 0;
}
.tools-section-header i { color: var(--accent); font-size: 0.8rem; }
.tools-section-count {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

/* --- ARAÇ GRİDİ --- */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

/* --- ARAÇ KARTI --- */
.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    color: inherit;
    min-width: 0;
}
.tool-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--tool-accent, var(--accent));
    opacity: 0;
    transition: opacity 0.2s;
}
.tool-card:hover {
    border-color: var(--tool-accent, var(--accent));
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.tool-card:hover::before { opacity: 1; }

/* Kilitli kart */
.tool-card.locked {
    opacity: 0.55;
    pointer-events: none;
    user-select: none;
}
.tool-card.locked::before { display: none; }
.tool-card .tool-lock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* İkon */
.tool-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.tool-card:hover .tool-card-icon { transform: scale(1.1); }

.tool-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-bright);
    margin: 0 0 0.5rem;
}
.tool-card-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1rem;
    flex: 1;
}

/* Tag'ler */
.tool-card-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}
.tool-tag {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* Platform badge */
.tool-platform {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px dashed var(--border-light);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 0.75rem;
}
.tool-platform i { font-size: 0.58rem; }

/* CTA */
.tool-card-cta {
    display: flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--tool-accent, var(--accent));
    gap: 6px;
    margin-top: auto;
}
.tool-card-cta i {
    font-size: 0.65rem;
    transition: transform 0.2s;
}
.tool-card:hover .tool-card-cta i { transform: translateX(4px); }

/* External kart */
.tool-card.external { border-style: dashed; }
.tool-card.external:hover { border-style: solid; }

/* =============================================================
   YARDIMCI BİLGİLER
   ============================================================= */
.tools-tips {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-top: 2rem;
}
.tools-tips-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tools-tips-title i { color: var(--accent); font-size: 0.72rem; }
.tools-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.75rem;
}
.tools-tip {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.tools-tip-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--accent-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.7rem;
    color: var(--accent);
}
.tools-tip-text {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.tools-tip-text strong { color: var(--text-bright); font-weight: 600; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 768px) {
    .tools-layout { padding: 1rem; }
    .tools-grid { grid-template-columns: 1fr; }
    .tools-hero h1 { font-size: 1.3rem; }
    .tool-card { padding: 1.25rem; }
    .tools-tips-grid { grid-template-columns: 1fr; }
    .tools-login-banner { padding: 1.5rem 1rem; }
}
@media (max-width: 480px) {
    .tools-grid { gap: 0.75rem; }
    .tools-stats { flex-direction: column; align-items: center; }
    .tools-login-actions { flex-direction: column; }
    .tools-login-btn { justify-content: center; }
}