* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  color: #334155;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid #e8ecf1;
}

.site-logo {
  height: 36px;
  width: auto;
}

.apps-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  width: 100%;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 1120px;
}

.app-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.app-card:hover {
  border-color: #dde3ea;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
}

.app-card:active {
  transform: translateY(0);
}

.app-icon-wrap {
  width: 100%;
  height: 120px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.app-icon {
  width: 64px;
  height: 64px;
  padding: 13px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.app-icon svg {
  width: 100%;
  height: 100%;
}

.app-info {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.app-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.app-launch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.app-launch svg {
  width: 14px;
  height: 14px;
}

.app-card:hover .app-launch {
  color: var(--accent);
}

.site-footer {
  padding: 1rem 1.5rem;
  background: #ffffff;
  border-top: 1px solid #e8ecf1;
  text-align: center;
}

.site-footer p {
  font-size: 0.8125rem;
  color: #64748b;
}

@media (max-width: 1024px) {
  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 560px;
  }
}

@media (max-width: 520px) {
  .apps-page {
    padding: 1.5rem 1rem;
  }

  .apps-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}
