:root {
  --bg: #eef2f6;
  --ink: #14314a;
  --muted: #7d8ea0;
  --line: #d4dbe3;
  --hero-start: #0f4b72;
  --hero-end: #072f57;
  --card: #f9fbfd;
  --accent: #16d3c5;
  --accent-ink: #04333a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at 10% -20%, #f8fbff 0%, var(--bg) 45%) fixed;
  color: var(--ink);
  font-family: "Tajawal", "Noto Kufi Arabic", "Geeza Pro", sans-serif;
}

.container {
  width: min(980px, 92%);
  margin: 18px auto 56px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 34px 36px 20px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  background: linear-gradient(115deg, var(--hero-start) 0%, #0a3d67 40%, var(--hero-end) 100%);
  color: #eef7ff;
  box-shadow: 0 18px 45px rgba(2, 26, 52, 0.18);
  animation: fade-up 540ms ease both;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 18% -52% 14%;
  height: 260px;
  border-radius: 40px;
  background: linear-gradient(125deg, rgba(143, 186, 228, 0.18), rgba(97, 157, 216, 0.06));
}

.benefits {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: center;
}

.benefit-item {
  background: rgba(147, 182, 216, 0.23);
  border: 1px solid rgba(206, 228, 248, 0.28);
  border-radius: 14px;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  backdrop-filter: blur(3px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.1);
  animation: fade-up 540ms ease both;
}

.benefit-item:nth-child(2) {
  animation-delay: 90ms;
}

.benefit-item:nth-child(3) {
  animation-delay: 170ms;
}

.icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #11d3ca;
  background: rgba(9, 156, 162, 0.2);
}

.benefit-item span {
  font-size: 19px;
  font-weight: 600;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 10px;
}

.hero-copy h1 {
  margin: 0;
  line-height: 1.1;
  font-size: clamp(34px, 3.8vw, 64px);
  font-weight: 700;
}

.hero-copy h1 strong {
  color: var(--accent);
}

.hero-copy .brand {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
}

.hero-copy p {
  margin: 0;
  color: #d0dfef;
  font-size: 15px;
  max-width: 470px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  height: 48px;
  border: 1px solid rgba(212, 231, 248, 0.36);
  padding: 0 24px;
  background: transparent;
  color: #dce9f6;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn.primary {
  background: linear-gradient(90deg, #0bc9c3, #20ddb4);
  color: #06242d;
  border: none;
  box-shadow: 0 10px 28px rgba(32, 221, 180, 0.34);
}

.hero-note {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  margin-top: 10px;
  border-radius: 11px;
  border: 1px solid rgba(198, 220, 238, 0.3);
  background: rgba(170, 198, 226, 0.2);
  color: #d8e7f4;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-align: center;
  padding: 8px 14px;
}

.meta-strip {
  margin-top: 16px;
  background: #f8fbfe;
  border: 1px solid var(--line);
  border-radius: 13px;
  min-height: 66px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: center;
  animation: fade-up 540ms 120ms ease both;
}

.meta-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #3f556d;
  font-weight: 600;
  font-size: 15px;
}

.meta-dot {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #0ecbc8;
  background: #e6fbf8;
}

.section {
  margin-top: 36px;
}

.section h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(28px, 3.2vw, 42px);
}

.section p.subtitle {
  margin: 8px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
}

.cards {
  margin-top: 22px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  min-height: 190px;
  box-shadow: 0 10px 24px rgba(8, 44, 72, 0.05);
  animation: fade-up 540ms ease both;
}

.card:nth-child(2) {
  animation-delay: 80ms;
}

.card:nth-child(3) {
  animation-delay: 140ms;
}

.card .badge {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #00bdb8;
  background: #e9fbf8;
  margin-bottom: 16px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 27px;
}

.card p {
  margin: 0;
  color: #66788d;
  font-size: 16px;
  line-height: 1.7;
}

.workflow {
  margin-top: 34px;
  border-radius: 16px;
  background: #e8ecf1;
  border: 1px solid #d3dce6;
  padding: 34px 22px;
}

.workflow h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(26px, 3vw, 40px);
}

.workflow p {
  text-align: center;
  color: #66788d;
  margin: 8px 0 0;
  font-size: 16px;
}

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

.step {
  border-radius: 13px;
  background: #f8fbff;
  border: 1px dashed #c5d2e1;
  padding: 16px;
  min-height: 110px;
}

.step strong {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
}

.step span {
  color: #71859a;
  font-size: 15px;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

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

  .meta-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 12px 10px;
  }

  .cards,
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 22px 16px 16px;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .benefit-item span {
    font-size: 17px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy .brand {
    font-size: 24px;
  }
}