/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom right, #f0f2f5, #e3e8ee);
  color: #1c1e21;
  line-height: 1.6;
  transition: background 0.3s ease-in-out;
}

/* Header */
header {
  background: #1877f2;
  color: white;
  text-align: center;
  padding: 3rem 1rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

header h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Call-to-action button */
#cta {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  padding: 0.8rem 1.5rem;
  background: #ffffff;
  color: #1877f2;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#cta:hover {
  background: #e4e6eb;
  transform: scale(1.05);
}

/* Category tiles grid */
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 3rem;
  max-width: 1300px;
  margin: auto;
}

.tile {
  background: white;
  padding: 2rem;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
  font-size: 1.1rem;
  text-decoration: none;
  color: #1c1e21;
  position: relative;
  overflow: hidden;
}

.tile::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(24,119,242,0.1) 0%, transparent 60%);
  transition: transform 0.4s ease-out;
  transform: scale(0);
  z-index: 0;
}

.tile:hover::before {
  transform: scale(1);
}

.tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
  background: #f8f8f8;
}

.tile span {
  position: relative;
  z-index: 1;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #f1f1f1;
  font-size: 0.9rem;
  color: #65676b;
  border-top: 1px solid #ccc;
}
