/* Quality Board portal — clean landing page */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #0d5c46;
  --green-light: #0d5c4614;
  --text: #1d2b26;
  --muted: #6b7d76;
  --line: #e3ece8;
  --card-shadow: 0 2px 10px rgba(13, 92, 70, .08);
  --card-shadow-hover: 0 6px 22px rgba(13, 92, 70, .16);
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: #f6faf8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--green);
  border-radius: 9px;
}
.brand-name { font-weight: 700; font-size: 1.15rem; letter-spacing: .2px; }
.lang-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: .9rem;
  cursor: pointer;
  color: var(--green);
  font-weight: 600;
}
.lang-btn:hover { background: var(--green-light); }

/* Hero */
.hero { text-align: center; padding: 56px 20px 34px; }
.hero h1 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); font-weight: 700; }
.tagline { margin-top: 10px; color: var(--muted); font-size: 1.05rem; }

/* App cards */
.apps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 340px));
  justify-content: center;
  padding: 20px 20px 60px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.app-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--card-shadow);
  transition: box-shadow .15s, transform .15s;
}
a.app-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-2px); }
.app-icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-icon.tena { background: var(--green); }
.app-icon.soon-i { background: #9db8b0; }
.app-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.app-name { font-weight: 700; font-size: 1.05rem; }
.app-desc { color: var(--muted); font-size: .88rem; line-height: 1.35; }
.app-go {
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--green);
  font-weight: 700;
  font-size: .95rem;
  white-space: nowrap;
}
.app-card.soon { opacity: .65; cursor: default; }

/* Footer */
footer {
  margin-top: auto;
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-size: .85rem;
  border-top: 1px solid var(--line);
  background: #fff;
}
footer a { color: var(--green); text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .apps { grid-template-columns: 1fr; }
}
