/* Products page styles.  Markup: website/products.xml   Shared parts: navbar.css, footer.css */
:root {
  --navy: #0A2540;
  --blue: #0066FF;
  --teal: #00C2FF;
  --dt: #00D1B2;
  --soft: #EEF4F9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat','Cairo',system-ui,sans-serif;
  background: #fff;
  color: var(--navy);
}

.ab-hero {
  background: linear-gradient(135deg,var(--soft) 0 50%,#e3edf6 50%);
  padding: 140px 16px 90px;
  text-align: center;
}

.ab-hero h1 {
  font-weight: 800;
  font-size: clamp(2.4rem,6vw,4rem);
  margin: 0 0 .8rem;
}

.ab-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: #51657a;
  line-height: 1.9;
}

.products-container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 70px 16px;
}

.products-cta h2 {
  font-weight: 800;
  font-size: clamp(1.8rem,4vw,2.6rem);
  margin: 0 0 1rem;
}

.ab-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  margin-bottom: .8rem;
}

.ab-tag:before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dt);
}

.products-card {
  background: #fff;
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 8px 30px rgba(10,37,64,.08);
  border-top: 4px solid var(--dt);
  transition: .25s;
}

.products-card:hover {
  transform: translateY(-4px);
}

.products-card svg {
  width: 38px;
  height: 38px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.products-card h3 {
  margin: .9rem 0 .6rem;
  font-size: 1.4rem;
}

.products-card p {
  margin: 0;
  line-height: 2;
  color: #3b4f63;
}

.products-cta {
  background: linear-gradient(135deg,var(--navy),#124a7a);
  color: #fff;
  text-align: center;
  padding: 80px 16px;
}

.products-cta p {
  max-width: 680px;
  margin: 0 auto 1.6rem;
  line-height: 2;
  opacity: .9;
}

.products-btn {
  display: inline-block;
  background: var(--dt);
  color: var(--navy);
  font-weight: 700;
  border-radius: 999px;
  padding: .85rem 2rem;
  text-decoration: none;
  transition: .25s;
}

.products-btn:hover {
  transform: translateY(-2px);
  background: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(260px,1fr));
  gap: 24px;
}

.products-card {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.products-card .products-btn {
  align-self: flex-start;
  margin-top: auto;
  background: var(--blue);
  color: #fff;
}

.products-card .products-btn:hover {
  background: var(--navy);
  color: #fff;
}

.products-card--soon {
  border: 2px dashed #b8cde0;
  background: transparent;
  box-shadow: none;
  border-top: 2px dashed #b8cde0;
  text-align: center;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  color: #6b7f93;
}

/* ---------- responsive ---------- */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

img,
svg,
iframe {
  max-width: 100%;
}

@media(max-width:991.98px) {
  .ab-hero {
    padding: 120px 16px 60px;
  }

  .products-container {
    padding: 50px 16px;
  }

  .products-cta {
    padding: 60px 16px;
  }
}

@media(max-width:575.98px) {
  .ab-hero {
    padding: 105px 16px 44px;
  }

  .products-container {
    padding: 36px 16px;
  }

  .products-card {
    padding: 24px;
  }

  .products-btn {
    padding: .8rem 1.6rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
}

html[data-lang="ar"] body {
  font-family: 'Cairo', 'Montserrat', system-ui, sans-serif;
}
