:root{
  --primary:#2563eb;
  --bg:#f4f6fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e5e7eb;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter,system-ui,Arial;
  background:var(--bg);
  color:var(--text);
}
header{
  background:#fff;
  padding:22px 0;
  box-shadow:0 6px 20px rgba(0,0,0,.06);
}
header h1{
  margin:0;
  text-align:center;
  font-size:30px;
}
.container{
  max-width:1300px;
  margin:40px auto;
  padding:0 20px;
}
.section{
  margin-bottom:50px;
}
.section h2{
  margin-bottom:18px;
  font-size:24px;
}
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:22px;
}
.tool-card{
  background:var(--card);
  border-radius:16px;
  padding:22px;
  border:1px solid var(--border);
  box-shadow:0 10px 28px rgba(0,0,0,.06);
  transition:.25s;
}
.tool-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(0,0,0,.12);
}
.tool-card h3{
  margin:0 0 8px;
  font-size:18px;
}
.tool-card p{
  margin:0 0 14px;
  color:var(--muted);
  font-size:14px;
}
.tool-card a{
  text-decoration:none;
  color:var(--primary);
  font-weight:600;
}
footer{
  background:#0f172a;
  color:#cbd5f5;
  padding:50px 0;
  margin-top:80px;
}
footer p{
  text-align:center;
  margin:6px 0;
  font-size:14px;
}

/* SEARCH BAR WRAPPER */
.tool-search-wrap{
  max-width:900px;
  margin:0 auto 50px;
  position:relative;
}

/* SEARCH INPUT */
.tool-search-wrap input{
  width:100%;
  padding:20px 20px 20px 56px;
  font-size:17px;
  border-radius:18px;
  border:1px solid var(--border);
  background:#ffffff;
  box-shadow:0 14px 35px rgba(0,0,0,.10);
  transition:all .25s ease;
}

/* SEARCH ICON */
.tool-search-wrap .search-icon{
  position:absolute;
  left:20px;
  top:50%;
  transform:translateY(-50%);
  font-size:22px;
  opacity:.6;
}

/* FOCUS EFFECT */
.tool-search-wrap input:focus{
  outline:none;
  border-color:var(--primary);
  box-shadow:0 18px 45px rgba(37,99,235,.25);
  transform:translateY(-2px);
}

/* DARK MODE */
.dark .tool-search-wrap input{
  background:#020617;
  color:#e5e7eb;
  border:1px solid #1e293b;
}

.dark .tool-search-wrap .search-icon{
  color:#94a3b8;
}
