:root {
  --bg: #f3f6fb;
  --surface: #ffffff;
  --text: #17263a;
  --muted: #56708a;
  --accent1: #2563eb;
  --accent2: #1d4ed8;
  --card: #ffffff;
  --border: #d9e2ee;
  --danger: #dc2626;
  --danger-hover: #b91c1c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(120deg, #f3f6fb, #e8f0ff, #eef7ff, #f3f6fb);
  background-size: 300% 300%;
  animation: mtech-bg-shift 14s ease-in-out infinite;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

body::before {
  width: 460px;
  height: 460px;
  top: -180px;
  left: -120px;
  background: rgba(37, 99, 235, 0.14);
}

body::after {
  width: 380px;
  height: 380px;
  bottom: -170px;
  right: -120px;
  background: rgba(14, 165, 233, 0.12);
}

@keyframes mtech-bg-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.mtech-brand {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px 4px;
}

.mtech-logo {
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.mtech-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
}

.mtech-grid {
  width: 100%;
  max-width: none;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.mtech-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: none;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mtech-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
  border-color: rgba(37, 99, 235, 0.28);
}

.mtech-card-icon {
  font-size: 22px;
  color: var(--accent1);
}

.mtech-card h3 {
  margin: 0;
  font-size: 1.05em;
}

.mtech-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84em;
  line-height: 1.35;
}

.mtech-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.mtech-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.mtech-btn {
  border: none;
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 0.78em;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent2);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.24);
  transition: transform 0.2s, box-shadow 0.2s;
}

.mtech-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(29, 78, 216, 0.3);
}

.mtech-footer {
  text-align: center;
  color: var(--muted);
  padding: 10px 16px 14px;
  font-size: 0.78em;
}

.mtech-footer a {
  color: var(--accent1);
  text-decoration: none;
  font-weight: 600;
}

.mtech-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .mtech-brand {
    padding: 8px 12px 2px;
  }

  .mtech-grid {
    padding: 0 16px;
    gap: 14px;
  }

  .mtech-actions-grid {
    grid-template-columns: 1fr;
  }
}
