/* ===== Reset & base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
}

/* ===== Header ===== */
.hero {
  text-align: center;
  padding: 3rem 1rem 2rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.hero p {
  opacity: 0.85;
  font-size: 1.1rem;
}

/* ===== Grid ===== */
.grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
}

/* ===== Card ===== */
.card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.5;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 1.25rem;
  font-size: 0.9rem;
  opacity: 0.75;
}
