*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f7f5f2;
  --surface: #ffffff;
  --text: #1c1a18;
  --text-muted: #6b6560;
  --accent: #8b7355;
  --accent-soft: #e8e0d6;
  --border: #e2ddd6;
  --shadow: 0 4px 24px rgba(28, 26, 24, 0.06);
  --radius: 16px;
  --max-width: 720px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", "Arabic Typesetting", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Hero */

.hero {
  padding: 4.5rem 0 3rem;
  text-align: center;
}

.hero__title {
  font-size: clamp(2.5rem, 8vw, 3.75rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.hero__desc {
  font-size: clamp(1rem, 3vw, 1.15rem);
  color: var(--text-muted);
  max-width: 28ch;
  margin-inline: auto;
}

/* Section */

.section-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

main {
  flex: 1;
  padding-bottom: 3rem;
}

/* Card */

.apps__grid {
  display: grid;
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(28, 26, 24, 0.09);
}

.card__title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.card__btn {
  display: inline-block;
  padding: 0.6rem 1.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-muted);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: not-allowed;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.card__btn:disabled {
  pointer-events: none;
}

/* Footer */

.footer {
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* Responsive */

@media (max-width: 480px) {
  .hero {
    padding: 3rem 0 2rem;
  }

  .card {
    padding: 1.5rem 1.25rem;
  }
}
