:root {
  --teal: #00957f;
  --teal-d: #007a68;
  --teal-soft: #e6f6f3;
  --slate: #4f5e77;
  --slate-l: #66768f;
  --ink: #3a4659;
  --muted: #6b7a90;
  --line: #dce3ec;
  --bg: #f3f6f9;
  --card: #ffffff;
  --shadow: 0 12px 30px rgba(79, 94, 119, 0.10);
  --shadow-hover: 0 18px 40px rgba(79, 94, 119, 0.14);
  --radius: 14px;
  --radius-btn: 10px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Montserrat", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  background:
    radial-gradient(ellipse 120% 80% at 0% 0%, rgba(0, 149, 127, 0.10), transparent 50%),
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(79, 94, 119, 0.08), transparent 45%),
    linear-gradient(180deg, #f8fafb 0%, var(--bg) 45%, #e9eef4 100%);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal-d);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.brand-bar {
  height: 8px;
  background: linear-gradient(90deg, var(--teal-d) 0%, var(--teal) 50%, #2aab96 100%);
}

.header {
  height: 84px;
  padding: 0 max(24px, 5vw);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  height: 52px;
  width: auto;
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav a {
  color: var(--slate);
  font-weight: 600;
  font-size: 15px;
}

.nav a:hover {
  color: var(--teal-d);
  text-decoration: none;
}

main {
  width: min(1140px, calc(100% - 40px));
  margin: auto;
}

.section {
  padding: 40px 0 64px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.app-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: inherit;
  text-decoration: none;
  animation: rise 0.55s ease-out both;
}

.app-card:nth-child(2) {
  animation-delay: 0.08s;
}

.app-card:nth-child(3) {
  animation-delay: 0.16s;
}

.app-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  text-decoration: none;
}

.app-header {
  padding: 28px 26px 20px;
  background: linear-gradient(135deg, var(--teal-soft) 0%, var(--card) 100%);
  border-bottom: 1px solid var(--line);
}

.app-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-btn);
  color: #fff;
  background: var(--teal);
  margin-bottom: 14px;
}

.app-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--slate);
  line-height: 1.25;
  font-weight: 700;
}

.app-audience {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal-d);
  background: rgba(0, 149, 127, 0.12);
  border-radius: 999px;
  padding: 4px 10px;
}

.app-body {
  padding: 22px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.app-body p {
  margin: 0 0 20px;
  line-height: 1.7;
  color: var(--muted);
  flex: 1;
}

.app-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-d);
  font-weight: 700;
  font-size: 0.95rem;
}

.app-card:hover .app-link {
  text-decoration: underline;
}

.app-link::after {
  content: "→";
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.app-card:hover .app-link::after {
  transform: translateX(3px);
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px max(24px, 5vw) 36px;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.footer-brand {
  font-family: var(--display);
  font-weight: 700;
  color: var(--slate);
  margin-right: 10px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--slate);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--teal-d);
  text-decoration: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .app-card {
    animation: none;
  }

  .app-card:hover {
    transform: none;
  }
}

@media (max-width: 720px) {
  .header {
    height: auto;
    padding: 14px 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .brand img {
    height: 42px;
  }

  .nav {
    gap: 16px;
    width: 100%;
  }

  .section {
    padding-top: 28px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
