/* ============================================================
   SAFIENCE — Banking & Financial Services Pages
   /industries/banks/
   /industries/banks/digital-operations/
   /industries/banks/physical-security/

   Extends the shared .apt-page design system (airports.css)
   with banking-specific components.
   ============================================================ */

/* ---------- Use Case Cards (Gap/Capability layout) ---------- */
.apt-usecase {
  background: var(--apt-white);
  border-radius: var(--apt-radius-lg);
  padding: 0;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--apt-border);
  border-left: 5px solid var(--apt-blue);
  transition: var(--apt-transition);
}
.apt-usecase:hover {
  box-shadow: 0 8px 32px rgba(2,41,223,0.08);
}
.apt-usecase__header {
  padding: 24px 28px;
  background: #f8f9fb;
  border-bottom: 1px solid var(--apt-border);
}
.apt-usecase__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--apt-dark);
  margin-bottom: 4px;
}
.apt-usecase__meta {
  font-size: 13px;
  color: var(--apt-muted);
  font-weight: 500;
}
.apt-usecase__scope {
  padding: 14px 28px;
  font-size: 14px;
  font-style: italic;
  color: var(--apt-muted);
  border-bottom: 1px solid var(--apt-border);
}
.apt-usecase__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.apt-usecase__section {
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.apt-usecase__gap {
  background: #fef2f2;
  border-right: 1px solid var(--apt-border);
}
.apt-usecase__capability {
  background: #eff6ff;
}
.apt-usecase__section h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.apt-usecase__gap h4 {
  color: #dc2626;
}
.apt-usecase__capability h4 {
  color: var(--apt-blue);
}
.apt-usecase__section p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--apt-text);
  flex: 1;
}
.apt-usecase__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 28px;
  background: var(--apt-white);
  border-top: 1px solid var(--apt-border);
}

/* ---------- Banking-Specific Duo Cards (Zone Overview) ---------- */
.apt-bank-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.apt-bank-card {
  background: var(--apt-white);
  border-radius: var(--apt-radius-lg);
  overflow: hidden;
  border: 1px solid var(--apt-border);
  transition: var(--apt-transition);
}
.apt-bank-card:hover {
  border-color: var(--apt-blue);
  box-shadow: 0 12px 40px rgba(2,41,223,0.1);
  transform: translateY(-4px);
}
.apt-bank-card__img {
  height: 240px;
  overflow: hidden;
  position: relative;
}
.apt-bank-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.apt-bank-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,9,27,0.4) 0%, transparent 50%);
}
.apt-bank-card__body {
  padding: 32px;
}
.apt-bank-card__body h3 {
  font-size: 26px;
  margin-bottom: 12px;
}
.apt-bank-card__body p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--apt-text);
  margin-bottom: 20px;
}
.apt-bank-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.apt-bank-tag {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: var(--apt-grey-bg);
  color: var(--apt-text);
}

/* ---------- Comparison Table ---------- */
.apt-bank-compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--apt-radius);
  overflow: hidden;
  border: 1px solid var(--apt-border);
  margin-top: 40px;
}
.apt-bank-compare thead th {
  background: var(--apt-navy);
  color: var(--apt-white);
  font-size: 14px;
  font-weight: 700;
  padding: 16px 20px;
  text-align: left;
}
.apt-bank-compare thead th:first-child {
  border-radius: var(--apt-radius) 0 0 0;
}
.apt-bank-compare thead th:last-child {
  border-radius: 0 var(--apt-radius) 0 0;
}
.apt-bank-compare tbody td {
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px solid var(--apt-border);
  color: var(--apt-text);
}
.apt-bank-compare tbody tr:last-child td {
  border-bottom: none;
}
.apt-bank-compare tbody tr:nth-child(even) {
  background: rgba(244,245,247,0.5);
}
.apt-bank-compare tbody td:first-child {
  font-weight: 600;
  color: var(--apt-dark);
}
.apt-bank-compare tbody td:last-child {
  font-weight: 600;
  color: var(--apt-blue);
}

/* ---------- Cross-link Banner ---------- */
.apt-crosslink {
  background: #f0f4ff;
  border: 1px solid #d4deff;
  border-radius: var(--apt-radius);
  padding: 32px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.apt-crosslink h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--apt-dark);
  margin-bottom: 8px;
}
.apt-crosslink p {
  font-size: 15px;
  color: var(--apt-muted);
  line-height: 1.6;
  margin: 0;
}
.apt-crosslink .apt-btn {
  flex-shrink: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .apt-usecase__content {
    grid-template-columns: 1fr;
  }
  .apt-usecase__gap {
    border-right: none;
    border-bottom: 1px solid var(--apt-border);
  }
  .apt-bank-duo {
    grid-template-columns: 1fr;
  }
  .apt-crosslink {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .apt-bank-card__img {
    height: 180px;
  }
}
