:root {
  --bg: #f6fbff;
  --text: #0f2537;
  --muted: #4a6070;
  --primary: #0ea5a4;
  --secondary: #f59e0b;
  --surface: #ffffffcc;
  --border: #d6e6f3;
  --shadow: 0 18px 40px rgba(15, 37, 55, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Tajawal", sans-serif;
  background: radial-gradient(circle at 20% 20%, #dff5ff, transparent 40%),
    radial-gradient(circle at 85% 15%, #ffe9c9, transparent 35%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(24px);
}

.shape-1 {
  width: 220px;
  height: 220px;
  background: #8de5e4;
  top: -60px;
  right: -50px;
}

.shape-2 {
  width: 260px;
  height: 260px;
  background: #ffdca0;
  bottom: -100px;
  left: -70px;
}

.topbar {
  width: min(1100px, 92%);
  margin: 24px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

main {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding-bottom: 36px;
}

.hero {
  padding: 56px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}

.kicker {
  margin: 0;
  color: var(--primary);
  font-weight: 700;
}

h1 {
  margin: 14px 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 700px;
  font-size: 1.05rem;
}

.actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 22px rgba(14, 165, 164, 0.3);
}

.btn.secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.features {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

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

.download {
  margin-top: 26px;
  padding: 26px;
  border-radius: 18px;
  border: 1px dashed #9bc6de;
  background: #f9fdff;
}

.download h2 {
  margin: 0 0 8px;
}

.download p {
  margin: 0 0 16px;
  color: var(--muted);
}

footer {
  width: min(1100px, 92%);
  margin: 20px auto 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

footer a {
  color: #0b6f94;
  font-weight: 700;
  text-decoration: none;
}

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

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 650ms ease forwards;
}

.features.reveal {
  animation-delay: 120ms;
}

.download.reveal {
  animation-delay: 220ms;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 850px) {
  .features {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 38px 20px;
  }
}
