:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f3f4f6;
  --color-surface: #1b212b;
  --color-primary: #e2001a;
  --color-primary-dark: #b5001a;
  --color-text: #0f1115;
  --color-text-muted: #5b6472;
  --color-text-on-dark: #f8fafc;
  --color-text-muted-on-dark: #9aa3af;
  --radius: 12px;
  --max-width: 1120px;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(12, 15, 20, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topnav a {
  color: var(--color-text-muted-on-dark);
  font-weight: 500;
  transition: color 0.2s ease;
}

.topnav a:hover {
  color: var(--color-text-on-dark);
}

.brand__name {
  color: var(--color-text-on-dark);
}

.topbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
}

.brand__logo {
  height: 44px;
  width: auto;
}

.topnav {
  display: flex;
  gap: 24px;
}

.hero {
  padding: 96px 24px;
  text-align: center;
  background: radial-gradient(circle at top, var(--color-bg-alt), var(--color-bg));
}

.hero__inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.hero p {
  color: var(--color-text-muted);
  font-size: 1.15rem;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.catalog,
.about {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px;
}

.section-title {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--color-surface);
  color: var(--color-text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.app-card__icon img {
  width: 40px;
  height: 40px;
}

.app-card__body h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: var(--color-text-on-dark);
}

.app-card__body p {
  margin: 0;
  color: var(--color-text-muted-on-dark);
  font-size: 0.95rem;
}

.app-card__tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(226, 0, 26, 0.15);
  color: #ff9aa6;
  padding: 4px 10px;
  border-radius: 999px;
}

.app-card__tag--production {
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
}

.app-card__tag--accept {
  background: rgba(249, 115, 22, 0.18);
  color: #fb923c;
}

.app-card__tag--soon {
  background: rgba(154, 163, 175, 0.15);
  color: var(--color-text-muted-on-dark);
}

.app-card--disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.app-card--disabled:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.06);
}

.about__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about__text {
  flex: 1 1 380px;
}

.about__image {
  flex: 1 1 320px;
  max-width: 420px;
  width: 100%;
  border-radius: var(--radius);
}

.about p {
  color: var(--color-text-muted);
  max-width: 720px;
}

.footer {
  border-top: 1px solid rgba(15, 17, 21, 0.1);
  padding: 24px;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
