/* ==========================================================
   MoreTech BMP360 – Product Page (FINAL MERGED DESIGN)
   Base: Original Premium Design
   Extension: Inline Content Layout (NO visual regression)
========================================================== */

/* ----------------------------------------------------------
   GLOBAL PRODUCT SECTIONS
---------------------------------------------------------- */
.product-intro,
.product-section,
.product-capabilities,
.product-architecture,
.product-plans,
.product-cta {
  padding: 80px 0;
}

/* ----------------------------------------------------------
   SECTION TITLES
---------------------------------------------------------- */
.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}

.section-subtitle {
  max-width: 860px;
  font-size: 1.05rem;
  color: var(--mt-text-muted);
  line-height: 1.6;
  margin-bottom: 48px;
}

.section-title-sm {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

/* ----------------------------------------------------------
   PRODUCT INTRO (UNCHANGED)
---------------------------------------------------------- */
.product-intro {
  background: linear-gradient(
    180deg,
    var(--mt-brand-primary-soft),
    #ffffff
  );
  border-bottom: 1px solid var(--mt-border-color);
}

.product-intro .container {
  background: #ffffff;
  border: 1px solid var(--mt-border-color);
  border-radius: var(--mt-radius-xl);
  box-shadow: var(--mt-shadow-soft);
  padding: 46px 28px;
  text-align: center;
}

/* ----------------------------------------------------------
   SHARED CONTAINER STYLE
---------------------------------------------------------- */
.product-section .container,
.product-capabilities .container,
.product-architecture .container,
.product-plans .container,
.product-cta .container {
  max-width: 1200px;
}

/* ----------------------------------------------------------
   INLINE CONTENT LAYOUT (NEW – MERGED)
---------------------------------------------------------- */
.content-row {
  display: flex;
  align-items: center;
  gap: 70px;
}

.content-row.reverse {
  flex-direction: row-reverse;
}

.content-row + .content-row {
  margin-top: 70px;
}

.content-text {
  flex: 1;
}

.content-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--mt-text-muted);
  margin-bottom: 18px;
}

/* ----------------------------------------------------------
   INLINE MEDIA (IMAGES)
---------------------------------------------------------- */
.content-media {
  flex: 0 0 420px;
}

.content-media img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--mt-shadow-soft);
  border: 1px solid var(--mt-border-color);
}

.media-caption {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--mt-text-muted);
  opacity: 0.85;
}

/* ----------------------------------------------------------
   CORE CAPABILITIES (ORIGINAL + INLINE)
---------------------------------------------------------- */
.product-capabilities {
  background: var(--mt-surface-light);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 22px;
}

.feature-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--mt-text-dark);
}

.feature-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--mt-brand-primary);
}

/* ----------------------------------------------------------
   ARCHITECTURE / PHILOSOPHY
---------------------------------------------------------- */
.product-architecture {
  background: #ffffff;
  border-top: 1px solid var(--mt-border-color);
  border-bottom: 1px solid var(--mt-border-color);
}

/* ----------------------------------------------------------
   PLANS & PRICING (UNCHANGED DESIGN)
---------------------------------------------------------- */
.product-plans {
  background: var(--mt-surface-light);
}

.plans-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.plan-card {
  background: #ffffff;
  border: 1px solid var(--mt-border-color);
  border-radius: var(--mt-radius-xl);
  padding: 36px 30px 38px;
  box-shadow: var(--mt-shadow-soft);
  transition: all 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--mt-shadow-strong);
}

.plan-card.featured {
  border: 2px solid var(--mt-brand-primary);
}

/* ----------------------------------------------------------
   FINAL CTA (UNCHANGED)
---------------------------------------------------------- */
.product-cta {
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.10),
    rgba(var(--primary-rgb), 0.03)
  );
}

.product-cta .cta-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 992px) {
  .content-row,
  .content-row.reverse {
    flex-direction: column;
    gap: 36px;
  }

  .content-media {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .content-media img {
    max-width: 100%;
  }

  .product-intro,
  .product-section,
  .product-capabilities,
  .product-architecture,
  .product-plans,
  .product-cta {
    padding: 64px 0;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.7rem;
  }

  .section-title-sm {
    font-size: 1.35rem;
  }
}
/* === GLOBAL DENSITY FIX === */
.product-intro,
.product-section,
.product-capabilities,
.product-architecture,
.product-plans,
.product-cta {
  padding: 48px 0; /* بدل 80-90 */
}
/* === SECTION BACKGROUND SYSTEM === */
.product-intro {
  background: linear-gradient(
    180deg,
    var(--mt-brand-primary-soft),
    #ffffff
  );
}

.product-section:nth-of-type(odd),
.product-architecture {
  background: #ffffff;
}

.product-section:nth-of-type(even),
.product-capabilities,
.product-plans {
  background: var(--mt-surface-light);
}
/* === CONTAINER NORMALIZATION === */
.product-section .container,
.product-capabilities .container,
.product-architecture .container,
.product-plans .container {
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
}
/* === CONTENT SPACING CONTROL === */
.section-subtitle {
  margin-bottom: 28px;
}

.content-row {
  gap: 48px;
}

.content-row + .content-row {
  margin-top: 48px;
}
/* === SECTION SEPARATORS === */
.product-section + .product-section,
.product-capabilities + .product-architecture,
.product-architecture + .product-plans {
  border-top: 1px solid var(--mt-border-color);
}
/* === HTML DENSITY SUPPORT === */
.section-head {
  margin-bottom: 28px;
}

.content-block {
  padding-top: 12px;
}
.intro-icons {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 18px 0 26px;
  flex-wrap: wrap;
}

.intro-icons span {
  font-size: 0.9rem;
  color: var(--mt-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.intro-icons i {
  color: var(--mt-brand-primary);
  font-size: 0.95rem;
}
/* ==========================================================
   SIGNATURE PRODUCT — MoreTech BMP 360
   Scope: Products Page Only
   Purpose: Highlight ERP as flagship system product
========================================================== */

.product-signature {
  padding: 90px 0 70px;
  background: linear-gradient(
    180deg,
    #f6f9fc 0%,
    #ffffff 100%
  );
}

/* Main Card */
.product-card-bmp {
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 30, 80, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card-bmp:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(0, 30, 80, 0.12);
}

/* Image Section */
.product-card-bmp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f2f5f8;
}

/* Text Section */
.product-card-bmp .card-body {
  padding: 64px;
}

/* Badge */
.product-card-bmp .badge {
  font-size: 0.75rem;
  letter-spacing: 0.4px;
  padding: 8px 14px;
  border-radius: 50px;
  background: linear-gradient(
    135deg,
    var(--mt-brand-primary),
    #3b82f6
  );
}

/* Title */
.product-card-bmp h3 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

/* Description */
.product-card-bmp p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--mt-text-muted);
  max-width: 520px;
}

/* Feature List */
.product-card-bmp ul {
  margin-top: 26px;
}

.product-card-bmp ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--mt-text-dark);
}

.product-card-bmp ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--mt-brand-primary);
  font-weight: 700;
}

/* Buttons */
.product-card-bmp .btn {
  padding: 10px 22px;
  font-size: 0.9rem;
  border-radius: 10px;
}

/* Primary Button */
.product-card-bmp .btn-primary {
  box-shadow: 0 8px 22px rgba(59, 130, 246, 0.35);
}

/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 992px) {
  .product-card-bmp .card-body {
    padding: 42px 32px;
  }

  .product-card-bmp h3 {
    font-size: 1.6rem;
  }

  .product-card-bmp p {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .product-signature {
    padding: 70px 0 50px;
  }

  .product-card-bmp .card-body {
    padding: 32px 22px;
  }
}
/* ==========================================================
   FIX — REQUEST DEMO BUTTON APPEARS DISABLED
========================================================== */

.btn-demo {
  opacity: 1 !important;
  filter: none !important;
  color: #ffffff !important;
}

.btn-demo:hover,
.btn-demo:focus {
  color: #ffffff !important;
}

/* Override Bootstrap disabled visual if inherited */
.btn-demo:not(:disabled):not(.disabled) {
  opacity: 1 !important;
}
/* ==========================================================
   PRODUCTS INTRO — MICRO CONTEXT
========================================================== */

.products-intro {
  padding: 36px 0 46px;
  background: linear-gradient(
    180deg,
    #f6f9fc 0%,
    #ffffff 100%
  );
  border-bottom: 1px solid var(--mt-border-color);
}

.products-intro-text {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--mt-text-muted);
}

/* ==========================================================
   PRODUCT ACTION BUTTONS — BALANCED UI
========================================================== */

/* Wrapper (optional if exists) */
.product-actions,
.card-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Primary Action — Request Demo */
.btn-demo {
  background: linear-gradient(
    135deg,
    var(--mt-brand-primary),
    #2563eb
  );
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
  transition: all 0.25s ease;
}

.btn-demo:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
  color: #ffffff;
}

/* Secondary Action — View Product */
.btn-view {
  background: #ffffff;
  color: var(--mt-brand-primary);
  border: 1.8px solid var(--mt-brand-primary);
  padding: 10px 22px;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.btn-view:hover {
  background: rgba(37, 99, 235, 0.06);
  color: var(--mt-brand-primary);
}

/* Prevent Disabled Look */
.btn-view:disabled,
.btn-demo:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
