:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --border: #e5e7eb;
  --text: #1f2937;
  --muted: #6b7280;
  --brand: #e5322d;
  --blue: #2563eb;
}

* {
  box-sizing: border-box;
  font-family: Inter, sans-serif;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 16px;
}

/* HEADER */
.header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 20px;
}

.logo span {
  color: var(--brand);
}

/* HERO */
.hero {
  text-align: center;
  padding: 64px 0 32px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
}

.hero p {
  color: var(--muted);
  margin-top: 12px;
}

.filters {
  margin-top: 32px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: white;
  cursor: pointer;
}

.filter.active {
  background: #111827;
  color: white;
}

/* TOOLS */
.tools {
  padding: 40px 0;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  transition: .2s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,.08);
}

.icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
}

/* WORK */
.work {
  padding: 64px 0;
}

.work-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.work-card {
  background: #eef4ff;
  padding: 24px;
  border-radius: 18px;
  position: relative;
}

.work-card span {
  position: absolute;
  bottom: 16px;
  right: 16px;
}

/* PREMIUM */
.premium {
  padding: 64px 0;
}

.premium-box {
  background: #fff4d6;
  padding: 40px;
  border-radius: 24px;
  text-align: center;
}

.premium-box button {
  margin-top: 20px;
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  background: #facc15;
  font-weight: 600;
}

/* FOOTER */
.footer {
  background: #1f1f24;
  color: #d1d5db;
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.footer h4 {
  margin-bottom: 10px;
}

.footer a {
  display: block;
  color: #9ca3af;
  margin-bottom: 6px;
}
