:root {
  --bg: #08111f;
  --bg-2: #0f1b2d;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.12);
  --text: #eef4ff;
  --muted: #a9b7cc;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text);
}

body {
  position: relative;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 180, 70, 0.16), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(140, 90, 255, 0.16), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(0, 210, 255, 0.12), transparent 30%);
  pointer-events: none;
}

.topbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: #7dd3fc;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

.topbar h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.subtitle {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 40px;
}

.hero-card {
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.04)
  );
  backdrop-filter: blur(14px);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-copy {
  margin-bottom: 28px;
}

.hero-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.14);
  color: #bfeaff;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.hero-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 700px;
  font-size: 1.02rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
  padding: 22px;
  border-radius: 24px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--card);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease,
    box-shadow 0.22s ease;
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.85;
  pointer-events: none;
}

.tool-card:hover {
  transform: translateY(-6px);
  background: var(--card-strong);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.tool-card.beer::before {
  background: radial-gradient(circle at top left, rgba(255, 191, 71, 0.22), transparent 40%);
}

.tool-card.coffee::before {
  background: radial-gradient(circle at top left, rgba(187, 128, 90, 0.22), transparent 40%);
}

.tool-card.mate::before {
  background: radial-gradient(circle at top left, rgba(110, 231, 183, 0.18), transparent 40%);
}

.icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.8rem;
  margin-bottom: 22px;
}

.card-content {
  position: relative;
  z-index: 1;
}

.card-content h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
}

.card-content p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
}

.url {
  display: inline-block;
  color: #d9e7ff;
  font-size: 0.95rem;
  word-break: break-word;
}

.cta {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 700;
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 220px;
  }

  .hero-card {
    padding: 22px;
  }
}