:root {
  --bg: #1a0f0f;
  --panel: #291818;
  --text: #f5e8e0;
  --text-muted: #c9ada0;
  --brand: #d47474;
  --brand-2: #c15b4f;
  --accent: #e88b87;
  --border: #4a3030;
  --button-text: #c9ada0;
  --nav-hover-bg: rgba(212, 116, 116, 0.15);
  --ring: 0 0 0 2px rgba(212, 116, 116, 0.35);
}

body {
  background: var(--bg);
  color: var(--text);
}

header {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}

.content {
  text-align: center;
  padding: 100px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.content h1 {
  font-size: 72px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}

.hero {
  text-align: center;
  padding: 80px 20px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: center;
  display: block;
}

.hero p {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.app-card {
  background: var(--panel);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border);
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.app-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--bg);
}

.app-card h2 {
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--text);
}

.app-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 24px 0;
}

footer {
  margin-top: 0;
  color: var(--text-muted);
  background: var(--panel);
}

.lang-switch button {
  color: var(--button-text);
  background: var(--bg);
}

.lang-switch button.active {
  color: var(--bg);
}

@media (max-width: 768px) {
  .hero {
    padding: 50px 16px 30px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 17px;
    margin-bottom: 40px;
  }

  .apps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px 60px;
  }

  .app-card {
    padding: 30px 20px;
  }

  .app-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 20px;
  }

  .app-card h2 {
    font-size: 26px;
  }

  .app-card p {
    font-size: 14px;
  }

  .app-card-buy-btn {
    font-size: 14px;
    padding: 10px 24px;
  }
}
