* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background iOS-style */
.background {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, #4f46e5, transparent 40%),
    radial-gradient(circle at bottom right, #06b6d4, transparent 40%),
    linear-gradient(180deg, #0f172a, #020617);
  z-index: -1;
}

/* Header */
header {
  text-align: center;
  padding: 60px 20px 30px;
}

header h1 {
  font-size: 36px;
  font-weight: 600;
  margin: 0;
}

header p {
  opacity: 0.7;
  margin-top: 8px;
}

/* Grid */
.grid {
  max-width: 1100px;
  margin: auto;
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

/* Glass card */
.card {
  position: relative;
  padding: 28px;
  border-radius: 20px;
  text-decoration: none;
  color: white;

  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.2);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover effect */
.card:hover:not(.disabled) {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.25);
}

/* Disabled cards */
.card.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Icon */
.icon {
  font-size: 32px;
}

/* Titles */
.card h2 {
  margin: 18px 0 6px;
  font-size: 22px;
  font-weight: 500;
}

.card p {
  margin: 0;
  font-size: 14px;
  opacity: 0.75;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px;
  font-size: 13px;
  opacity: 0.5;
}