* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system;
  background: linear-gradient(to bottom, #ffffff, #eef1f6);
  color: #111;
}

/* HEADER */
.header {
  background: linear-gradient(90deg, #ff6a00, #ff8c2a);
  color: white;
  text-align: center;
  padding: 16px;
  font-size: 18px;
  font-weight: 600;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
}

.nav-item {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #777;
  font-size: 12px;
  padding: 6px 0;
  transition: 0.2s;
}

.nav-item:hover {
  background: rgba(255,106,0,0.08);
  border-radius: 8px;
}

.nav-item.active {
  color: #ff6a00;
  font-weight: 600;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #ff6a00, #ff8c2a);
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: 26px;
}

.hero p {
  margin: 10px 0 20px;
  opacity: 0.9;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn {
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.btn.primary {
  background: white;
  color: #ff6a00;
}

.btn.secondary {
  border: 1px solid white;
  color: white;
}

/* MAIN */
.container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

.section-title {
  margin-bottom: 15px;
  font-size: 18px;
}

/* GRID (FIXED ALIGNMENT) */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* CARD */
.card {
  background: white;
  padding: 18px;
  border-radius: 16px;
  text-decoration: none;
  color: #111;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: 0.25s;
}

.card:hover {
  transform: translateY(-4px);
}

.card .material-icons {
  font-size: 26px;
  color: #ff6a00;
}

.card h3 {
  margin: 10px 0 5px;
  font-size: 14px;
}

.card p {
  margin: 0;
  font-size: 12px;
  color: #666;
}

/* DANGER */
.card.danger .material-icons {
  color: #e53935;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 25px;
  font-size: 12px;
  color: #777;
}

.powered {
  margin-top: 5px;
  color: #ff6a00;
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 22px;
  }
}