/* Tools index page-specific styles only */
.container { max-width: 1100px; padding: 24px; }
h1 { font-size: clamp(28px, 5vw, 42px); margin-bottom: 10px; }
.intro { max-width: 720px; margin-bottom: 32px; }
.grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card { text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; padding: 24px; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.card-sleep::before { background: #8B5CF6; }
.card-water::before { background: #06B6D4; }
.card-caffeine::before { background: #F59E0B; }
.card-bmi::before { background: #10B981; }
.card-calorie::before { background: #F97316; }
.card-running::before { background: #EF4444; }
.card-icon { font-size: 36px; margin-bottom: 8px; }
.card h3 { margin: 0; font-size: 1.2rem; }
.card p { margin: 0; font-size: .95rem; line-height: 1.5; flex-grow: 1; }
.card .arrow { color: var(--accent); font-size: 18px; transition: transform .2s; }
.card:hover .arrow { transform: translateX(4px); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; }
.card-tag { font-size: 11px; padding: 3px 8px; border-radius: 999px; font-weight: 600; }
.tag-sleep { background: rgba(139,92,246,.15); color: #a78bfa; }
.tag-water { background: rgba(6,182,212,.15); color: #22d3ee; }
.tag-caffeine { background: rgba(245,158,11,.15); color: #fbbf24; }
.tag-bmi { background: rgba(16,185,129,.15); color: #34d399; }
.tag-calorie { background: rgba(249,115,22,.15); color: #fb923c; }
.tag-running { background: rgba(239,68,68,.15); color: #f87171; }
.card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--border); margin-top: 6px; }
.card-meta { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } h1 { font-size: clamp(24px, 8vw, 36px); } }

.card-deposit::before { background: #3B82F6; }
.tag-deposit { background: rgba(59,130,246,.15); color: #93c5fd; }
