:root {
  --bg: #060f19;
  --bg-2: #071a2c;
  --card: #0a2236;
  --card-2: #0e2f48;
  --line: #194261;
  --text: #e8f2ff;
  --muted: #9cb6d0;
  --brand: #10a64f;
  --brand-2: #25d366;
  --soon: #73859d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 20% -10%, color-mix(in srgb, var(--brand) 24%, transparent), transparent 60%),
    radial-gradient(1200px 700px at 90% 110%, color-mix(in srgb, #1a6db4 22%, transparent), transparent 55%),
    linear-gradient(155deg, var(--bg), var(--bg-2));
}

.landing {
  width: min(1200px, 94vw);
  margin: 0 auto;
  padding: 56px 0 64px;
}

.hero {
  text-align: center;
  margin-bottom: 34px;
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: color-mix(in srgb, var(--brand-2) 70%, #fff 30%);
  font-weight: 700;
  font-size: 0.82rem;
}

.hero h1 {
  margin: 10px 0 8px;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
}

.subtitle {
  margin: 0;
  color: var(--muted);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 18px;
}

.app-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 16px;
  background: linear-gradient(160deg, var(--card), var(--card-2));
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  min-height: 260px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: cardIn 0.45s ease both;
}

.app-card img {
  width: min(190px, 76%);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 8px 28px color-mix(in srgb, var(--brand) 40%, transparent));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.app-card__name {
  margin-top: 4px;
  font-size: 1.08rem;
}

.app-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.app-card--active {
  border-color: color-mix(in srgb, var(--brand) 65%, #fff 35%);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--brand) 22%, transparent);
}

.app-card--active:hover {
  transform: translateY(-4px);
  border-color: var(--brand-2);
  box-shadow: 0 18px 36px color-mix(in srgb, var(--brand) 34%, transparent);
}

.app-card--active:hover img {
  transform: scale(1.03);
  filter: drop-shadow(0 10px 34px color-mix(in srgb, var(--brand) 58%, transparent));
}

.landing-footer {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--card) 84%, #06131e 16%), var(--card-2));
  text-align: center;
}

.contact-line,
.copy-line {
  margin: 0;
  color: var(--muted);
}

.copy-line {
  margin-top: 8px;
  font-size: 0.93rem;
}

.landing-footer a {
  color: color-mix(in srgb, var(--brand-2) 80%, #fff 20%);
  text-decoration: none;
  font-weight: 600;
}

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

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 560px) {
  .landing {
    padding-top: 34px;
  }

  .apps-grid {
    grid-template-columns: 1fr;
  }

  .landing-footer {
    padding: 16px;
  }

  .contact-line {
    line-height: 1.5;
  }
}
