/* ==========================================================================
   Tehranto.Plus — Enterprise Custom Software Hub, Case Studies & Booking Pages (v181)
   Covers /web-apps, /projects/property-os, /projects/tehranto-club, /consultation, /book
   Full EN LTR + FA RTL (Shabnam) support
   ========================================================================== */

.wa-unified-hero {
  position: relative;
  padding: clamp(7.65rem, 11.2vw, 9.25rem) 0 clamp(3.25rem, 5.5vw, 4.5rem);
  background:
    radial-gradient(920px 420px at 14% 0%, rgba(43, 184, 212, 0.11), transparent 65%),
    radial-gradient(840px 380px at 88% 8%, rgba(15, 44, 107, 0.08), transparent 62%),
    linear-gradient(180deg, #f5f9fc 0%, var(--wa-bg, #fbfaf7) 100%);
  border-bottom: 1px solid rgba(15, 44, 107, 0.09);
}

.wa-unified-top {
  max-width: 860px;
  margin: 0 auto clamp(2rem, 3.6vw, 2.75rem);
  text-align: center;
}

.wa-unified-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 44, 107, 0.12);
  box-shadow: 0 6px 18px rgba(10, 31, 77, 0.05);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #0f2c6b;
  margin-bottom: 1.15rem;
}

body.fa .wa-unified-eyebrow {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.85rem;
}

.wa-unified-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2bb8d4;
  box-shadow: 0 0 0 4px rgba(43, 184, 212, 0.2);
}

.wa-unified-title {
  margin: 0 0 1rem;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: clamp(2.15rem, 4.3vw, 3.45rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #0f2c6b;
  text-wrap: balance;
}

body.fa .wa-unified-title {
  font-family: "Shabnam", Tahoma, sans-serif;
  letter-spacing: 0;
  line-height: 1.34;
}

.wa-unified-title em {
  font-style: normal;
  color: #0f7690;
}

.wa-unified-lead {
  margin: 0 auto 1.45rem;
  max-width: 64ch;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.66;
  color: #465574;
}

.wa-unified-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}

.wa-unified-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.36rem 0.82rem;
  border-radius: 999px;
  background: rgba(15, 44, 107, 0.045);
  border: 1px solid rgba(15, 44, 107, 0.09);
  font-size: 0.82rem;
  font-weight: 600;
  color: #1c3568;
}

.wa-unified-pill i {
  font-style: normal;
  color: #0f7690;
  font-size: 0.72rem;
}

/* Hub Route Bar + 2 Flagship Switcher Cards inside the shared Hero */
.wa-hub-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}

.wa-hub-overview-link {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.48rem 1rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  color: #0f2c6b;
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.15);
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.wa-hub-overview-link:hover {
  border-color: #0f2c6b;
  background: #f2f7fb;
}

.wa-hub-overview-link.is-active {
  background: #0f2c6b;
  border-color: #0f2c6b;
  color: #ffffff;
}

.wa-hub-consult-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 1.05rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  color: #0f7690;
  background: rgba(43, 184, 212, 0.12);
  border: 1px solid rgba(43, 184, 212, 0.32);
  transition: background 0.16s ease, transform 0.16s ease;
}

.wa-hub-consult-link:hover {
  background: rgba(43, 184, 212, 0.2);
  transform: translateY(-1px);
}

.wa-flagship-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

@media (max-width: 860px) {
  .wa-flagship-switcher {
    grid-template-columns: 1fr;
  }
}

.wa-switch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.45rem 1.6rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1.5px solid rgba(15, 44, 107, 0.13);
  box-shadow: 0 12px 32px rgba(10, 31, 77, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.wa-switch-card:hover {
  transform: translateY(-2px);
  border-color: #2bb8d4;
  box-shadow: 0 18px 42px rgba(10, 31, 77, 0.1);
}

.wa-switch-card:focus-visible,
.wa-hub-overview-link:focus-visible,
.wa-hub-consult-link:focus-visible {
  outline: 3px solid #2bb8d4;
  outline-offset: 2px;
}

.wa-switch-card.is-active {
  background: linear-gradient(145deg, #0f2c6b 0%, #091c47 100%);
  border-color: #2bb8d4;
  color: #ffffff;
  box-shadow: 0 20px 46px rgba(9, 26, 66, 0.22);
}

.wa-switch-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.wa-switch-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f7690;
}

body.fa .wa-switch-kicker {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.8rem;
}

.wa-switch-card.is-active .wa-switch-kicker {
  color: #7dd3e6;
}

.wa-switch-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.68rem;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  background: #edf8fb;
  color: #0b647c;
  border: 1px solid rgba(43, 184, 212, 0.3);
}

.wa-switch-card.is-active .wa-switch-badge {
  background: rgba(43, 184, 212, 0.2);
  color: #e2f7fc;
  border-color: rgba(125, 211, 230, 0.4);
}

.wa-switch-card h2,
.wa-switch-card .wa-switch-heading {
  margin: 0.35rem 0 0.45rem;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: clamp(1.22rem, 1.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.25;
  color: #0f2c6b;
}

body.fa .wa-switch-card h2,
body.fa .wa-switch-card .wa-switch-heading {
  font-family: "Shabnam", Tahoma, sans-serif;
  line-height: 1.42;
}

.wa-switch-card.is-active h2,
.wa-switch-card.is-active .wa-switch-heading {
  color: #ffffff;
}

.wa-switch-desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.58;
  color: #4b5a78;
}

.wa-switch-card.is-active .wa-switch-desc {
  color: rgba(235, 244, 255, 0.86);
}

.wa-switch-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(15, 44, 107, 0.09);
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f2c6b;
}

.wa-switch-card.is-active .wa-switch-foot {
  border-top-color: rgba(255, 255, 255, 0.15);
  color: #7dd3e6;
}

.wa-switch-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.wa-switch-metric {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(15, 44, 107, 0.055);
  color: #263b6a;
  font-variant-numeric: tabular-nums;
}

.wa-switch-card.is-active .wa-switch-metric {
  background: rgba(255, 255, 255, 0.12);
  color: #f0f7ff;
}

/* ==========================================================================
   Executive Side-by-Side Flagship Overview Section on /web-apps
   ========================================================================== */
.wa-flagships-overview {
  padding: var(--wa-sec-py, 5.25rem) 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 44, 107, 0.09);
}

.wa-flagship-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

@media (max-width: 940px) {
  .wa-flagship-grid {
    grid-template-columns: 1fr;
  }
}

.wa-flagship-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border-radius: 24px;
  background: #fbfaf7;
  border: 1px solid rgba(15, 44, 107, 0.12);
  box-shadow: 0 14px 36px rgba(10, 31, 77, 0.05);
}

.wa-flagship-panel.is-dark {
  background: linear-gradient(155deg, #0b2154 0%, #071538 100%);
  color: #ffffff;
  border-color: rgba(43, 184, 212, 0.32);
}

.wa-flagship-panel h3 {
  margin: 0.45rem 0 0.65rem;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.22;
  color: #0f2c6b;
}

body.fa .wa-flagship-panel h3 {
  font-family: "Shabnam", Tahoma, sans-serif;
  line-height: 1.4;
}

.wa-flagship-panel.is-dark h3 {
  color: #ffffff;
}

.wa-flagship-panel p {
  margin: 0 0 1.15rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #465574;
}

.wa-flagship-panel.is-dark p {
  color: rgba(232, 242, 255, 0.84);
}

.wa-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.wa-stat-cell {
  padding: 0.8rem 0.85rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.1);
}

.wa-flagship-panel.is-dark .wa-stat-cell {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.wa-stat-cell strong {
  display: block;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: #0f2c6b;
  font-variant-numeric: tabular-nums;
}

.wa-flagship-panel.is-dark .wa-stat-cell strong {
  color: #7dd3e6;
}

.wa-stat-cell span {
  display: block;
  font-size: 0.78rem;
  color: #596680;
  margin-top: 0.15rem;
}

.wa-flagship-panel.is-dark .wa-stat-cell span {
  color: rgba(226, 238, 255, 0.78);
}

.wa-bullet-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.wa-bullet-checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.52;
  color: #263961;
}

.wa-flagship-panel.is-dark .wa-bullet-checks li {
  color: rgba(240, 247, 255, 0.92);
}

.wa-bullet-checks li i {
  font-style: normal;
  font-weight: 700;
  color: #0f7690;
  flex-shrink: 0;
}

.wa-flagship-panel.is-dark .wa-bullet-checks li i {
  color: #5ce1e6;
}

.wa-flagship-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(15, 44, 107, 0.1);
}

.wa-flagship-panel.is-dark .wa-flagship-actions {
  border-top-color: rgba(255, 255, 255, 0.14);
}

/* ==========================================================================
   Case-Study KPI Strip, Supply × Demand Matrix & 3-Portal Architecture
   ========================================================================== */
.wa-case-kpis {
  padding: 2.5rem 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 44, 107, 0.09);
}

.wa-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

@media (max-width: 900px) {
  .wa-kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .wa-kpi-row {
    grid-template-columns: 1fr;
  }
}

.wa-kpi-box {
  padding: 1.35rem 1.45rem;
  border-radius: 18px;
  background: #fbfaf7;
  border: 1px solid rgba(15, 44, 107, 0.1);
}

.wa-kpi-box strong {
  display: block;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: #0f2c6b;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.35rem;
}

.wa-kpi-box span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #50607e;
}

/* Tehranto Club Supply × Governance × Demand Matrix */
.wa-matrix-section {
  padding: var(--wa-sec-py, 5.25rem) 0;
  background: var(--wa-bg, #fbfaf7);
  border-bottom: 1px solid rgba(15, 44, 107, 0.09);
}

.wa-matrix-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

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

.wa-matrix-col {
  padding: 1.75rem;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.12);
  box-shadow: 0 10px 28px rgba(10, 31, 77, 0.05);
}

.wa-matrix-col.is-engine {
  background: linear-gradient(160deg, #0f2c6b 0%, #081940 100%);
  color: #ffffff;
  border-color: #2bb8d4;
}

.wa-matrix-col h3 {
  margin: 0.5rem 0 0.75rem;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f2c6b;
}

body.fa .wa-matrix-col h3 {
  font-family: "Shabnam", Tahoma, sans-serif;
}

.wa-matrix-col.is-engine h3 {
  color: #ffffff;
}

.wa-matrix-col p {
  margin: 0 0 1.1rem;
  font-size: 0.93rem;
  line-height: 1.6;
  color: #4c5c7a;
}

.wa-matrix-col.is-engine p {
  color: rgba(232, 243, 255, 0.85);
}

.wa-matrix-items {
  display: grid;
  gap: 0.6rem;
}

.wa-matrix-item {
  padding: 0.72rem 0.9rem;
  border-radius: 12px;
  background: #f5f8fc;
  border: 1px solid rgba(15, 44, 107, 0.08);
  font-size: 0.88rem;
  font-weight: 600;
  color: #172f60;
}

.wa-matrix-col.is-engine .wa-matrix-item {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.15);
  color: #f2f8ff;
}

/* 3-Portal Architecture Trio */
.wa-portals-section {
  padding: var(--wa-sec-py, 5.25rem) 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 44, 107, 0.09);
}

.wa-portals-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

@media (max-width: 960px) {
  .wa-portals-trio {
    grid-template-columns: 1fr;
  }
}

.wa-portal-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.75rem;
  border-radius: 22px;
  background: #fbfaf7;
  border: 1px solid rgba(15, 44, 107, 0.12);
}

.wa-portal-mock {
  padding: 1rem;
  border-radius: 14px;
  background: #0b1f4d;
  color: #e8f3ff;
  font-size: 0.8rem;
  display: grid;
  gap: 0.5rem;
}

.wa-portal-mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: #7dd3e6;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.wa-portal-mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.42rem 0.6rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.wa-portal-card h3 {
  margin: 0.35rem 0 0.5rem;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 1.24rem;
  font-weight: 700;
  color: #0f2c6b;
}

body.fa .wa-portal-card h3 {
  font-family: "Shabnam", Tahoma, sans-serif;
}

.wa-portal-card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.62;
  color: #4c5c7a;
}

/* Cross-Case-Study Next Project Card */
.wa-next-case-band {
  padding: 3rem 0;
  background: #f2efe8;
  border-bottom: 1px solid rgba(15, 44, 107, 0.09);
}

.wa-next-case-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.65rem 2rem;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.14);
  box-shadow: 0 10px 28px rgba(10, 31, 77, 0.05);
}

.wa-next-case-card h3 {
  margin: 0.25rem 0 0.3rem;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 1.32rem;
  color: #0f2c6b;
}

body.fa .wa-next-case-card h3 {
  font-family: "Shabnam", Tahoma, sans-serif;
}

.wa-next-case-card p {
  margin: 0;
  font-size: 0.93rem;
  color: #51607e;
}

/* ==========================================================================
   Dedicated Single-Purpose Page Headers (/consultation & /book)
   ========================================================================== */
html:has(body.tp-dedicated-booking-page) {
  overflow-x: clip;
  max-width: 100%;
}

body.tp-dedicated-booking-page,
body.tp-dedicated-booking-page *,
body.tp-dedicated-booking-page *::before,
body.tp-dedicated-booking-page *::after {
  box-sizing: border-box;
}

body.tp-dedicated-booking-page {
  margin: 0;
  background: #fbfaf7;
  color: #0a1f4d;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: clip;
  max-width: 100%;
}

body.tp-dedicated-booking-page .tp-estimator-head-copy {
  display: none;
}

body.tp-dedicated-booking-page .tp-estimator-head {
  margin-bottom: 1.35rem;
}

body.tp-dedicated-booking-page .tp-estimator-section {
  padding-top: clamp(1.5rem, 2.8vw, 2.25rem);
}

body.tp-dedicated-booking-page [data-tp-consult-only] .tp-booking-section {
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}

@media (max-width: 640px) {
  body.tp-dedicated-booking-page .tp-dedicated-badge {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }
  body.tp-dedicated-booking-page .tp-cal-tz-badge {
    max-width: 100%;
    white-space: normal;
  }
}

body.tp-dedicated-booking-page.fa {
  font-family: "Shabnam", Tahoma, sans-serif;
  direction: rtl;
  text-align: right;
}

body.tp-dedicated-booking-page .lang-fa { display: none; }
body.tp-dedicated-booking-page.fa .lang-en { display: none !important; }
body.tp-dedicated-booking-page.fa .lang-fa { display: inline; }

.tp-dedicated-page-hero {
  padding: clamp(7.55rem, 11vw, 9.1rem) 0 clamp(1.75rem, 3vw, 2.35rem);
  background:
    radial-gradient(840px 340px at 16% 0%, rgba(43, 184, 212, 0.1), transparent 64%),
    linear-gradient(180deg, #f3f8fc 0%, #fbfaf7 100%);
  border-bottom: 1px solid rgba(15, 44, 107, 0.08);
}

.tp-dedicated-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3.5vw, 2.25rem);
}

.tp-dedicated-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.13);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #0f2c6b;
  margin-bottom: 0.95rem;
}

body.fa .tp-dedicated-badge {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.84rem;
}

.tp-dedicated-hero-inner h1 {
  margin: 0 0 0.75rem;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #0f2c6b;
}

body.fa .tp-dedicated-hero-inner h1 {
  font-family: "Shabnam", Tahoma, sans-serif;
  letter-spacing: 0;
  line-height: 1.35;
}

.tp-dedicated-hero-inner h1 em {
  font-style: normal;
  color: #0f7690;
}

.tp-dedicated-hero-inner p {
  margin: 0;
  max-width: 66ch;
  font-size: 1.02rem;
  line-height: 1.64;
  color: #4c5c7a;
}

/* ==========================================================================
   v181 Enterprise Custom Software & Business Infrastructure Page (/web-apps)
   ========================================================================== */

.wa-ent-hero {
  position: relative;
  padding: clamp(7.65rem, 11.2vw, 9.35rem) 0 clamp(3.5rem, 5.5vw, 4.75rem);
  background:
    radial-gradient(960px 460px at 10% 0%, rgba(43, 184, 212, 0.13), transparent 65%),
    radial-gradient(880px 420px at 92% 10%, rgba(15, 44, 107, 0.09), transparent 64%),
    linear-gradient(180deg, #f3f8fc 0%, #fbfaf7 100%);
  border-bottom: 1px solid rgba(15, 44, 107, 0.1);
}

.wa-ent-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.94fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

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

.wa-ent-title {
  margin: 0 0 1.15rem;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: clamp(2.15rem, 4.15vw, 3.45rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #0f2c6b;
  text-wrap: balance;
}

body.fa .wa-ent-title {
  font-family: "Shabnam", Tahoma, sans-serif;
  letter-spacing: 0;
  line-height: 1.36;
}

.wa-ent-title em {
  font-style: normal;
  color: #0f7690;
}

.wa-ent-lead {
  margin: 0 0 1.85rem;
  max-width: 62ch;
  font-size: clamp(1rem, 1.3vw, 1.09rem);
  line-height: 1.72;
  color: #3f5072;
}

.wa-ent-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.wa-ent-ctas .wa-btn-primary,
.wa-ent-ctas .wa-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.82rem 1.55rem;
  border-radius: 999px;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

body.fa .wa-ent-ctas .wa-btn-primary,
body.fa .wa-ent-ctas .wa-btn-secondary {
  font-family: "Shabnam", Tahoma, sans-serif;
}

.wa-ent-ctas .wa-btn-primary {
  background: #0f2c6b;
  color: #ffffff;
  border: 1.5px solid #0f2c6b;
  box-shadow: 0 14px 32px rgba(15, 44, 107, 0.2);
}

.wa-ent-ctas .wa-btn-primary:hover {
  background: #153b8a;
  border-color: #153b8a;
  transform: translateY(-1px);
}

.wa-ent-ctas .wa-btn-secondary {
  background: #ffffff;
  color: #0f2c6b;
  border: 1.5px solid rgba(15, 44, 107, 0.2);
  box-shadow: 0 6px 18px rgba(10, 31, 77, 0.05);
}

.wa-ent-ctas .wa-btn-secondary:hover {
  border-color: #0f2c6b;
  background: #f2f7fc;
  transform: translateY(-1px);
}

/* 4-Layer System Architecture Blueprint Card */
.wa-arch-card {
  background: linear-gradient(155deg, #091b44 0%, #0f2c6b 62%, #0c3d63 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  border: 1px solid rgba(125, 211, 230, 0.28);
  box-shadow: 0 26px 64px rgba(8, 24, 62, 0.22);
}

.wa-arch-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.wa-arch-card-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3e6;
}

body.fa .wa-arch-card-kicker {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.86rem;
}

.wa-arch-card-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.26rem 0.72rem;
  border-radius: 999px;
  background: rgba(43, 184, 212, 0.18);
  border: 1px solid rgba(125, 211, 230, 0.36);
  color: #e6f9fd;
  font-size: 0.73rem;
  font-weight: 700;
}

.wa-arch-layers {
  display: grid;
  gap: 0.72rem;
}

.wa-arch-layer {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.wa-arch-layer-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(43, 184, 212, 0.2);
  border: 1px solid rgba(125, 211, 230, 0.38);
  color: #8ee3f4;
  display: inline-grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.wa-arch-layer strong {
  display: block;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.22rem;
  line-height: 1.32;
}

body.fa .wa-arch-layer strong {
  font-family: "Shabnam", Tahoma, sans-serif;
}

.wa-arch-layer p {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.52;
  color: rgba(226, 239, 255, 0.82);
}

/* 4-Item Engineering Guarantees Trust Strip */
.wa-trust-strip {
  margin-top: clamp(2.15rem, 3.8vw, 3rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 980px) {
  .wa-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .wa-trust-strip {
    grid-template-columns: 1fr;
  }
}

.wa-trust-item {
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.11);
  box-shadow: 0 8px 22px rgba(10, 31, 77, 0.04);
}

.wa-trust-item strong {
  display: block;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f2c6b;
  margin-bottom: 0.3rem;
}

.wa-trust-item span {
  display: block;
  font-size: 0.85rem;
  line-height: 1.54;
  color: #4f5f7e;
}

/* Section 2: 6 Core Software & Infrastructure Capabilities */
.wa-cap-section {
  padding: var(--wa-sec-py, 5.25rem) 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 44, 107, 0.09);
}

.wa-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

@media (max-width: 1024px) {
  .wa-cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 660px) {
  .wa-cap-grid {
    grid-template-columns: 1fr;
  }
}

.wa-cap-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.65rem;
  border-radius: 22px;
  background: #fbfaf7;
  border: 1px solid rgba(15, 44, 107, 0.11);
  box-shadow: 0 10px 26px rgba(10, 31, 77, 0.04);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.wa-cap-card:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 184, 212, 0.55);
  box-shadow: 0 16px 38px rgba(10, 31, 77, 0.08);
}

.wa-cap-top {
  margin-bottom: 0.85rem;
}

.wa-cap-code {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: rgba(15, 44, 107, 0.065);
  border: 1px solid rgba(15, 44, 107, 0.12);
  color: #0f7690;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.wa-cap-card h3 {
  margin: 0 0 0.65rem;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0f2c6b;
}

body.fa .wa-cap-card h3 {
  font-family: "Shabnam", Tahoma, sans-serif;
  line-height: 1.44;
}

.wa-cap-card p {
  margin: 0 0 1.2rem;
  font-size: 0.93rem;
  line-height: 1.65;
  color: #495978;
}

.wa-cap-tags {
  list-style: none;
  padding: 0.9rem 0 0;
  margin: auto 0 0;
  border-top: 1px solid rgba(15, 44, 107, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.wa-cap-tags li {
  padding: 0.26rem 0.68rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.11);
  font-size: 0.78rem;
  font-weight: 600;
  color: #193366;
}

/* Section 3: 8 Industry Verticals */
.wa-ind-section {
  padding: var(--wa-sec-py, 5.25rem) 0;
  background: #f5f3ec;
  border-bottom: 1px solid rgba(15, 44, 107, 0.09);
}

.wa-ind-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

@media (max-width: 1060px) {
  .wa-ind-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .wa-ind-grid {
    grid-template-columns: 1fr;
  }
}

.wa-ind-card {
  padding: 1.35rem 1.4rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.11);
  box-shadow: 0 8px 22px rgba(10, 31, 77, 0.04);
}

.wa-ind-card h4 {
  margin: 0 0 0.48rem;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.32;
  color: #0f2c6b;
}

body.fa .wa-ind-card h4 {
  font-family: "Shabnam", Tahoma, sans-serif;
  line-height: 1.44;
}

.wa-ind-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.58;
  color: #4f5f7e;
}

/* Section 4: Custom Infrastructure vs. Spreadsheets & SaaS */
.wa-compare-section {
  padding: var(--wa-sec-py, 5.25rem) 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 44, 107, 0.09);
}

.wa-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 880px) {
  .wa-compare-grid {
    grid-template-columns: 1fr;
  }
}

.wa-compare-col {
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border-radius: 24px;
  border: 1.5px solid rgba(15, 44, 107, 0.12);
}

.wa-compare-col.is-legacy {
  background: #f8f7f3;
}

.wa-compare-col.is-custom {
  background: linear-gradient(155deg, #0a1d48 0%, #0f2c6b 65%, #0c3d62 100%);
  border-color: #2bb8d4;
  color: #ffffff;
  box-shadow: 0 22px 52px rgba(9, 26, 66, 0.18);
}

.wa-compare-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.82rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  background: rgba(180, 35, 24, 0.09);
  color: #9e2319;
  border: 1px solid rgba(180, 35, 24, 0.2);
}

body.fa .wa-compare-badge {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.82rem;
}

.wa-compare-col.is-custom .wa-compare-badge {
  background: rgba(43, 184, 212, 0.2);
  color: #9ce8f7;
  border-color: rgba(125, 211, 230, 0.42);
}

.wa-compare-col h3 {
  margin: 0 0 1.2rem;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.28;
  color: #0f2c6b;
}

body.fa .wa-compare-col h3 {
  font-family: "Shabnam", Tahoma, sans-serif;
  line-height: 1.42;
}

.wa-compare-col.is-custom h3 {
  color: #ffffff;
}

.wa-compare-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.wa-compare-col li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  font-size: 0.94rem;
  line-height: 1.6;
  color: #435372;
}

.wa-compare-col.is-custom li {
  color: rgba(235, 245, 255, 0.9);
}

.wa-cmp-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(180, 35, 24, 0.12);
  color: #b42318;
  margin-top: 0.12rem;
}

.wa-compare-col.is-custom .wa-cmp-mark {
  background: rgba(43, 184, 212, 0.25);
  color: #8ee3f4;
}

/* Section 5: Tech Stack & 4-Phase Methodology */
.wa-method-section {
  padding: var(--wa-sec-py, 5.25rem) 0;
  background: #fbfaf7;
  border-bottom: 1px solid rgba(15, 44, 107, 0.09);
}

.wa-stack-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.75rem;
  border-radius: 20px;
  background: #0b1f4d;
  color: #ffffff;
  border: 1px solid rgba(125, 211, 230, 0.28);
}

@media (max-width: 960px) {
  .wa-stack-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .wa-stack-bar {
    grid-template-columns: 1fr;
  }
}

.wa-stack-group {
  padding: 0.45rem 0.6rem;
}

.wa-stack-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7dd3e6;
  margin-bottom: 0.3rem;
}

body.fa .wa-stack-label {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.82rem;
}

.wa-stack-group p {
  margin: 0;
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1.48;
  color: #f0f7ff;
}

.wa-steps-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 1020px) {
  .wa-steps-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .wa-steps-row {
    grid-template-columns: 1fr;
  }
}

.wa-method-section .wa-step-card {
  background: #ffffff;
}

/* Section 6: Selected Proof-of-Work Sample Case Studies */
.wa-proof-section {
  padding: var(--wa-sec-py, 5.25rem) 0;
  background: #eef4fa;
  border-bottom: 1px solid rgba(15, 44, 107, 0.1);
}

.wa-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 920px) {
  .wa-proof-grid {
    grid-template-columns: 1fr;
  }
}

.wa-proof-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.6rem, 2.8vw, 2.15rem);
  border-radius: 24px;
  background: #ffffff;
  border: 1.5px solid rgba(15, 44, 107, 0.14);
  box-shadow: 0 14px 36px rgba(10, 31, 77, 0.06);
}

.wa-proof-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.95rem;
}

.wa-proof-sample-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #0f7690;
}

body.fa .wa-proof-sample-tag {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.83rem;
}

.wa-proof-status {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.72rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  background: #edf8fb;
  color: #0b647c;
  border: 1px solid rgba(43, 184, 212, 0.34);
}

.wa-proof-status.is-live {
  background: #eaf9f0;
  color: #0e6f43;
  border-color: rgba(16, 150, 88, 0.3);
}

.wa-proof-card h3 {
  margin: 0 0 0.7rem;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: clamp(1.32rem, 2vw, 1.58rem);
  font-weight: 700;
  line-height: 1.25;
  color: #0f2c6b;
}

body.fa .wa-proof-card h3 {
  font-family: "Shabnam", Tahoma, sans-serif;
  line-height: 1.42;
}

.wa-proof-desc {
  margin: 0 0 1.25rem;
  font-size: 0.94rem;
  line-height: 1.66;
  color: #495978;
}

.wa-proof-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.95rem 0;
  margin-bottom: 1.15rem;
  border-top: 1px solid rgba(15, 44, 107, 0.09);
  border-bottom: 1px solid rgba(15, 44, 107, 0.09);
}

.wa-proof-metrics > span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: #f5f8fc;
  border: 1px solid rgba(15, 44, 107, 0.1);
  font-size: 0.81rem;
  color: #29406d;
}

.wa-proof-metrics strong {
  color: #0f2c6b;
  font-weight: 800;
}

.wa-proof-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

.wa-proof-btn-primary,
.wa-proof-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.68rem 1.25rem;
  border-radius: 999px;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.89rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

body.fa .wa-proof-btn-primary,
body.fa .wa-proof-btn-outline {
  font-family: "Shabnam", Tahoma, sans-serif;
}

.wa-proof-btn-primary {
  background: #0f2c6b;
  color: #ffffff;
  border: 1.5px solid #0f2c6b;
}

.wa-proof-btn-primary:hover {
  background: #153b8a;
  border-color: #153b8a;
  transform: translateY(-1px);
}

.wa-proof-btn-outline {
  background: #ffffff;
  color: #0f2c6b;
  border: 1.5px solid rgba(15, 44, 107, 0.22);
}

.wa-proof-btn-outline:hover {
  border-color: #0f2c6b;
  background: #f3f8fd;
  transform: translateY(-1px);
}

/* Section 7: Custom Software FAQ */
.wa-faq-section {
  padding: var(--wa-sec-py, 5.25rem) 0;
  background: #ffffff;
}

/* Case Study Page Hero Primary Action Row (/projects/tehranto-club & /projects/property-os) */
.wa-case-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.wa-case-live-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.82rem 1.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f2c6b 0%, #0d5e7a 100%);
  color: #ffffff;
  border: 1.5px solid rgba(43, 184, 212, 0.55);
  box-shadow: 0 14px 32px rgba(15, 44, 107, 0.22);
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

body.fa .wa-case-live-cta {
  font-family: "Shabnam", Tahoma, sans-serif;
}

.wa-case-live-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
  box-shadow: 0 18px 38px rgba(15, 44, 107, 0.28);
}

.wa-case-secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
  background: #ffffff;
  color: #0f2c6b;
  border: 1.5px solid rgba(15, 44, 107, 0.18);
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.89rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

body.fa .wa-case-secondary-cta {
  font-family: "Shabnam", Tahoma, sans-serif;
}

.wa-case-secondary-cta:hover {
  border-color: #0f2c6b;
  background: #f3f8fc;
  transform: translateY(-1px);
}


/* ==========================================================================
   v185 — Graphical Upgrade for /web-apps + Full Hero Flagship Live Showcase
   ========================================================================== */

.tp-webapp-page .wa-ent-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(920px 480px at 10% 4%, rgba(43, 184, 212, 0.14), transparent 62%),
    radial-gradient(880px 460px at 92% 10%, rgba(15, 44, 107, 0.1), transparent 60%),
    linear-gradient(180deg, #f3f8fc 0%, #f9f8f4 55%, #f4f2eb 100%);
}

.tp-webapp-page .wa-ent-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15, 44, 107, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 44, 107, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.18) 65%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.18) 65%, transparent 100%);
}

.tp-webapp-page .wa-ent-hero > .wa-container {
  position: relative;
  z-index: 1;
}

/* Enhanced 4-Layer Architecture Stack Icons & Tech Chips */
.wa-arch-layer {
  grid-template-columns: 44px minmax(0, 1fr);
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.wa-arch-layer:hover {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(125, 211, 230, 0.36);
}

body.fa .wa-arch-layer:hover {
  transform: translateX(-3px);
}

.wa-arch-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(43, 184, 212, 0.26), rgba(15, 44, 107, 0.55));
  border: 1px solid rgba(125, 211, 230, 0.42);
  color: #8ee3f4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(4, 15, 42, 0.26);
}

.wa-arch-icon svg {
  width: 20px;
  height: 20px;
}

.wa-arch-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.22rem;
}

.wa-arch-title-row strong {
  margin-bottom: 0;
}

.wa-arch-tech-tag {
  padding: 0.14rem 0.52rem;
  border-radius: 999px;
  background: rgba(125, 211, 230, 0.14);
  border: 1px solid rgba(125, 211, 230, 0.28);
  color: #bceef9;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* ==========================================================================
   Hero Bottom Full 2-Project Flagship Live Showcase (#case-studies)
   ========================================================================== */
.wa-hero-showcase {
  margin-top: clamp(2.6rem, 4.5vw, 3.6rem);
  padding-top: clamp(2.1rem, 3.6vw, 2.8rem);
  border-top: 1px solid rgba(15, 44, 107, 0.12);
}

.wa-hero-showcase-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 1.5rem;
}

.wa-hero-showcase-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0e7490;
}

body.fa .wa-hero-showcase-kicker {
  font-family: "Shabnam", Tahoma, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.82rem;
}

.wa-hero-showcase-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.wa-hero-showcase-title {
  margin: 0;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.022em;
  color: #0f2c6b;
}

body.fa .wa-hero-showcase-title {
  font-family: "Shabnam", Tahoma, sans-serif;
  letter-spacing: 0;
  line-height: 1.36;
}

.wa-hero-showcase-title em {
  font-style: normal;
  color: #0f7690;
}

.wa-hero-showcase-hint {
  margin: 0;
  max-width: 42ch;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #4b5c7d;
}

.wa-hero-flagship-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.45rem;
}

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

.wa-flagship-card {
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  background: #ffffff;
  border: 1.5px solid rgba(15, 44, 107, 0.14);
  box-shadow: 0 20px 52px rgba(10, 31, 77, 0.09);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.wa-flagship-card:hover {
  transform: translateY(-4px);
  border-color: #2bb8d4;
  box-shadow: 0 28px 64px rgba(10, 31, 77, 0.14);
}

/* Graphical Browser Window Preview Inside Each Flagship Card */
.wa-mock-window {
  display: block;
  text-decoration: none;
  color: #ffffff;
  direction: ltr;
  text-align: left;
  padding: 1rem 1.15rem 1.15rem;
  background: linear-gradient(145deg, #08183c 0%, #0f2c6b 58%, #0c4767 100%);
  border-bottom: 1px solid rgba(125, 211, 230, 0.24);
  position: relative;
  overflow: hidden;
}

.wa-mock-window.is-propos {
  background: linear-gradient(145deg, #091d42 0%, #12356e 56%, #0f576e 100%);
}

.wa-mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding-bottom: 0.78rem;
  margin-bottom: 0.88rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  direction: ltr;
}

.wa-mock-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.wa-mock-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.wa-mock-dots span:nth-child(1) { background: #fb7185; }
.wa-mock-dots span:nth-child(2) { background: #fbbf24; }
.wa-mock-dots span:nth-child(3) { background: #34d399; }

.wa-mock-url {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.22rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: "Google Sans", "Roboto", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: #e6f7fc;
}

.wa-mock-url-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
}

.wa-mock-open-pill {
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  background: rgba(43, 184, 212, 0.24);
  border: 1px solid rgba(125, 211, 230, 0.45);
  color: #b7f0fc;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
}

.wa-mock-canvas {
  display: grid;
  gap: 0.65rem;
  direction: ltr;
}

.wa-mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.wa-mock-kpi {
  padding: 0.62rem 0.72rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.085);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.wa-mock-kpi strong {
  display: block;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
}

.wa-mock-kpi span {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.66rem;
  font-weight: 600;
  color: rgba(214, 238, 252, 0.84);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wa-mock-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.wa-mock-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.26rem 0.6rem;
  border-radius: 8px;
  background: rgba(9, 25, 58, 0.55);
  border: 1px solid rgba(125, 211, 230, 0.25);
  color: #d9f5fc;
  font-size: 0.69rem;
  font-weight: 600;
}

.wa-mock-chip i {
  font-style: normal;
  color: #5eead4;
}

.wa-mock-chart-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.58rem 0.75rem;
  border-radius: 12px;
  background: rgba(6, 18, 44, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.wa-mock-chart-copy {
  font-size: 0.7rem;
  color: rgba(226, 243, 255, 0.88);
  font-weight: 600;
}

.wa-mock-chart-copy b {
  color: #67e8f9;
}

.wa-mock-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  height: 26px;
}

.wa-mock-bars span {
  width: 6px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #67e8f9 0%, #2bb8d4 100%);
}

/* Flagship Card Body & New-Tab Action Buttons */
.wa-flagship-body {
  padding: 1.45rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.85rem;
}

.wa-flagship-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wa-flagship-tag {
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f7690;
}

body.fa .wa-flagship-tag {
  font-family: "Shabnam", Tahoma, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.78rem;
}

.wa-flagship-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.68rem;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid rgba(16, 185, 129, 0.32);
  color: #047857;
  font-size: 0.72rem;
  font-weight: 700;
}

.wa-flagship-body h3 {
  margin: 0;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: clamp(1.28rem, 2vw, 1.52rem);
  font-weight: 700;
  color: #0f2c6b;
  line-height: 1.24;
}

body.fa .wa-flagship-body h3 {
  font-family: "Shabnam", Tahoma, sans-serif;
  line-height: 1.38;
}

.wa-flagship-body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.64;
  color: #465675;
}

.wa-flagship-actions {
  margin-top: auto;
  padding-top: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.wa-flagship-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.68rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f2c6b 0%, #0e5a77 100%);
  color: #ffffff !important;
  border: 1px solid rgba(43, 184, 212, 0.45);
  box-shadow: 0 10px 24px rgba(15, 44, 107, 0.18);
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

body.fa .wa-flagship-btn-primary {
  font-family: "Shabnam", Tahoma, sans-serif;
}

.wa-flagship-btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 14px 30px rgba(15, 44, 107, 0.24);
}

.wa-flagship-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.66rem 1.1rem;
  border-radius: 999px;
  background: #f4f8fc;
  color: #0f2c6b !important;
  border: 1px solid rgba(15, 44, 107, 0.16);
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease;
}

body.fa .wa-flagship-btn-secondary {
  font-family: "Shabnam", Tahoma, sans-serif;
}

.wa-flagship-btn-secondary:hover {
  background: #e6f2fa;
  border-color: #0f2c6b;
}

/* Graphical Capability & Industry Icons Across Sections 2, 3 & 5 */
.wa-cap-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f9f8f3 100%);
}

.wa-cap-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0f2c6b, #2bb8d4);
  opacity: 0.85;
}

.wa-cap-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.wa-cap-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(145deg, #e7f6fa 0%, #dcebf7 100%);
  border: 1px solid rgba(20, 131, 158, 0.24);
  color: #0f2c6b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(15, 44, 107, 0.06);
}

.wa-cap-icon svg {
  width: 22px;
  height: 22px;
  stroke: #0e7490;
}

.wa-ind-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.wa-ind-card:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 184, 212, 0.5);
  box-shadow: 0 14px 32px rgba(10, 31, 77, 0.08);
}

.wa-ind-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 0.25rem;
  border-radius: 11px;
  background: linear-gradient(145deg, #0f2c6b 0%, #146985 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(15, 44, 107, 0.15);
}

.wa-ind-icon svg {
  width: 19px;
  height: 19px;
}

.wa-step-card {
  position: relative;
  border-top: 3px solid #2bb8d4;
}
