/* =========================================================
   NAMAALY — MODULE SUB-PAGE STYLESHEET (assets/css/module.css)
   Loaded only on ERPNext module pages (erpnext-crm.php,
   erpnext-inventory.php, erpnext-accounting-vat.php, and
   future module pages).
   Depends on the CSS variables + shared components defined in
   style.css (.eyebrow, .btn, .section-head, .alt-bg, the icon
   system) — this file adds everything those pages need that
   style.css doesn't already cover: the shorter module hero,
   breadcrumb, intro layout, feature checklist, price callout,
   FAQ list, and the .ind-card/.cap-card grid components that
   otherwise only live in index.css (index.php-only).
   ========================================================= */

/* ---- Breadcrumb (sits on the dark module hero) ---- */

.namaaly-scope .ind-card{
  text-align: center;
}
.namaaly-scope .breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  font-family: var(--mono);
  justify-content: center;
}


.namaaly-scope .breadcrumb a {
  color: rgba(255, 255, 255, .75);
  transition: color .2s ease;
}

.namaaly-scope .breadcrumb a:hover {
  color: #fff;
}

/* ---- Module hero (shorter than the homepage hero) ---- */
.namaaly-scope .mod-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.namaaly-scope .mod-hero .eyebrow {
  background: rgba(11, 110, 79, .14);
  color: var(--copper);
  border-color: rgba(11, 110, 79, .35);
}

.namaaly-scope .mod-hero .eyebrow::before {
  background: var(--copper);
}

.namaaly-scope .mod-hero h1 {
  color: #fff;
  font-size: clamp(30px, 4.2vw, 46px);
  /* max-width: 760px; */
  margin-bottom: 18px;
}

.namaaly-scope .mod-hero p.lead {
  /* max-width: 620px; */
  color: rgba(255, 255, 255, .78);
  font-size: 16.5px;
  margin-bottom: 0;
}

.namaaly-scope .mod-hero .hero-ctas {
  margin-top: 30px;
  justify-content: center;
}

.namaaly-scope .mod-hero .btn-outline {
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}

.namaaly-scope .mod-hero .btn-outline:hover {
  border-color: #fff;
}

/* ---- Intro: text + feature checklist / price callout ---- */
.namaaly-scope .intro-grid {
  display: flex;
  gap: 56px;
  align-items: center;
}

.namaaly-scope .intro-grid>.col-text {
  flex: 1 1 0;
}

.namaaly-scope .intro-grid>.col-visual {
  flex: 0 0 380px;
}

@media(max-width:860px) {
  .namaaly-scope .intro-grid {
    flex-direction: column;
  }

  .namaaly-scope .intro-grid>.col-visual {
    flex-basis: auto;
    width: 100%;
  }
}

.namaaly-scope .intro-grid p {
  color: rgba(26, 31, 43, .7);
  font-size: 17.5px;
  margin-bottom: 22px;
}

.namaaly-scope .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.namaaly-scope .feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  font-size: 16.5px;
  color: rgba(26, 31, 43, .82);
}

.namaaly-scope .feature-list li i {
  color: var(--teal-deep);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.namaaly-scope .price-card {
  background: var(--sand);
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 32px;
  height: 100%;
}

.namaaly-scope .price-card .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(47, 111, 237, .1);
  color: var(--teal-deep);
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  font-weight: 800;
}

.namaaly-scope .price-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.namaaly-scope .price-card p {
  font-size: 16.5px;
  color: rgba(26, 31, 43, .62);
  margin-bottom: 0;
}

/* ---- FAQ ---- */
.namaaly-scope .faq-list {
  border-top: 1px solid var(--line);
}

.namaaly-scope .faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.namaaly-scope .faq-item h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 9px;
}

.namaaly-scope .faq-item h3 i {
  color: var(--teal-deep);
  font-size: 15px;
}

.namaaly-scope .faq-item p {
  font-size: 14.5px;
  color: rgba(26, 31, 43, .68);
  padding-left: 24px;
}

.namaaly-scope .faq-item p a {
  color: var(--teal-deep);
  text-decoration: underline;
}

/* ---- "Who this is built for" cards (.ind-card lives in index.css,
   which module pages don't load — re-declared here so it renders) ---- */
.namaaly-scope .ind-card {
  background: var(--paper);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(17, 19, 22, .04);
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}

.namaaly-scope .ind-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(17, 19, 22, .1);
}

.namaaly-scope .ind-card h4 {
  font-family: var(--display);
  font-size: 16.5px;
  margin-bottom: 8px;
}

.namaaly-scope .ind-card p {
  font-size: 13.5px;
  color: rgba(26, 31, 43, .68);
}

/* ---- "How it's used" cards (.cap-card also lives in index.css only) ---- */
.namaaly-scope .cap-card {
  border-top: 2px solid var(--copper);
  padding-top: 18px;
  height: 100%;
  transition: transform .25s ease;
}

.namaaly-scope .cap-card:hover {
  transform: translateY(-6px);
}

.namaaly-scope .cap-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.namaaly-scope .cap-card p {
  font-size: 16.5px;
  color: rgba(26, 31, 43, .7);
}

/* ---- Final CTA (module pages don't load index.css, so it's re-declared here) ---- */
.namaaly-scope .final-cta {
  background: var(--navy-deep);
  color: #fff;
  text-align: center;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.namaaly-scope .final-cta h2 {
  color: #fff;
  margin-bottom: 14px;
}

.namaaly-scope .final-cta p {
  color: rgba(255, 255, 255, .7);
  margin-bottom: 36px;
  font-size: 16px;
}

.namaaly-scope .final-cta .btn-outline {
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}

.namaaly-scope .final-cta .btn-outline:hover {
  border-color: #fff;
}

@media(max-width:767.98px) {
  .namaaly-scope .mod-hero {
    padding: 32px 0 44px;
  }

  .namaaly-scope .mod-hero p.lead {
    font-size: 15.5px;
  }

  .namaaly-scope .final-cta {
    padding: 3rem 0;
  }

  .namaaly-scope .final-ctas {
    flex-direction: column;
    width: 100%;
  }

  .namaaly-scope .final-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}