:root {
  --bg: #061327;
  --bg-2: #0a1a33;
  --bg-3: #0b2344;

  --surface: rgba(255, 255, 255, 0.08);
  --surface-2: rgba(255, 255, 255, 0.12);
  --card: #f8fbff;
  --card-2: #eef4fb;
  --white: #ffffff;

  --primary: #0f56b3;
  --primary-dark: #0a397a;
  --primary-deep: #082a59;
  --primary-soft: #dbeafe;
  --primary-soft-2: #cfe0f8;

  --text: #12345c;
  --text-soft: #6c84a5;
  --line: #d7e2f1;

  --shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.14);

  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --transition: 280ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(58, 123, 215, 0.15), transparent 20%),
    radial-gradient(circle at bottom right, rgba(114, 168, 255, 0.12), transparent 18%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 48%, var(--bg-3) 100%);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 24px));
  margin-inline: auto;
}

.page-shell {
  min-height: 100vh;
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 18px 0 22px;
  background:
    radial-gradient(circle at top left, rgba(160, 204, 255, 0.14), transparent 24%),
    radial-gradient(circle at bottom right, rgba(255,255,255,0.06), transparent 18%),
    linear-gradient(135deg, #0a2f60 0%, #1057b5 55%, #0a3878 100%);
  box-shadow: var(--shadow);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.22;
}

.hero::before {
  width: 270px;
  height: 270px;
  background: #93c5fd;
  top: -100px;
  left: -90px;
}

.hero::after {
  width: 220px;
  height: 220px;
  background: #ffffff;
  bottom: -90px;
  right: -70px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)),
    radial-gradient(circle at center, rgba(255,255,255,0.04), transparent 52%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__top {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
}

.logo-circle {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  font-size: 11px;
  font-weight: 800;
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.bank-title-wrap {
  min-width: 0;
}

.bank-title-en {
  margin: 0 0 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.9);
}

.bank-title-ar {
  margin: 0;
  font-size: clamp(24px, 4.2vw, 42px);
  line-height: 1.2;
  font-weight: 800;
}

.bank-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
}

.hero__actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.action-btn {
  border: 0;
  border-radius: 18px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-soft);
  min-height: 48px;
}

.action-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.18);
}

.action-btn.active {
  background: var(--white);
  color: var(--primary-dark);
}

/* main */
.main-content {
  padding: 16px 0 28px;
}

.intro-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  margin-bottom: 16px;
  color: var(--text);
}

.intro-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--primary-dark);
}

.intro-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-soft);
}

.sections-grid {
  display: grid;
  gap: 12px;
}

.section-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,248,253,0.96));
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.section-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.section-head {
  width: 100%;
  border: 0;
  cursor: pointer;
  text-align: right;
  padding: 14px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-head__right {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 0;
  flex: 1;
}

.section-index {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 8px 18px rgba(15, 86, 179, 0.22);
}

.section-title-wrap {
  min-width: 0;
}

.section-title {
  margin: 0;
  font-size: 18px;
  color: var(--primary-dark);
  font-weight: 800;
  line-height: 1.45;
}

.section-subtitle {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-soft);
}

.toggle-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  transition: transform var(--transition), background var(--transition);
}

.section-card.open .toggle-icon {
  transform: rotate(180deg);
  background: var(--primary-soft-2);
}

.section-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 360ms ease;
}

.section-card.open .section-body {
  grid-template-rows: 1fr;
}

.section-body__inner {
  overflow: hidden;
}

.section-body__content {
  padding: 0 12px 12px;
}

.section-body__content h4 {
  margin: 8px 2px 10px;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-dark);
}

/* table */
.table-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.pricing-table thead th {
  background: linear-gradient(180deg, #d9b200, #caa400);
  color: #111111;
  font-size: 15px;
  padding: 13px 8px;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.45;
  font-weight: 800;
}

.pricing-table tbody td {
  padding: 12px 8px;
  border-bottom: 1px solid #e3ebf6;
  background: #ffffff;
  color: var(--text);
  font-size: 14px;
  text-align: center;
  vertical-align: middle;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.7;
}

.pricing-table tbody tr:nth-child(even) td {
  background: #f4f8fd;
}

.pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

.pricing-table td.col-no,
.pricing-table th.col-no {
  width: 10%;
  font-weight: 800;
}

.pricing-table td.col-service,
.pricing-table th.col-service {
  width: 56%;
}

.pricing-table td.col-price,
.pricing-table th.col-price {
  width: 34%;
  font-weight: 800;
}

.pricing-table td.col-price {
  direction: rtl;
}

/* footer */
.site-footer {
  margin-top: 18px;
  padding: 18px 0 20px;
  background: transparent;
  color: var(--white);
}

.compact-footer {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.footer-mini-brand {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.footer-mini-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
}

.footer-mini-brand p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.88);
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.footer-socials a:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.16);
}

.footer-socials i {
  font-size: 15px;
}

.footer-note p {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

/* fade */
.fade-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.fade-element.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* responsive */
@media (max-width: 768px) {
  .container {
    width: min(100% - 12px, 100%);
  }

  .hero {
    padding: 14px 0 18px;
  }

  .hero__top {
    grid-template-columns: 58px 1fr;
    gap: 10px;
  }

  .logo-circle {
    width: 58px;
    height: 58px;
    font-size: 9px;
    padding: 8px;
  }

  .bank-title-en {
    font-size: 11px;
  }

  .bank-title-ar {
    font-size: 24px;
  }

  .bank-subtitle {
    font-size: 13px;
    line-height: 1.7;
  }

  .hero__actions {
    margin-top: 14px;
    gap: 8px;
  }

  .action-btn {
    width: calc(50% - 4px);
    padding: 11px 10px;
    font-size: 13px;
    border-radius: 16px;
  }

  .main-content {
    padding: 12px 0 18px;
  }

  .intro-card {
    padding: 16px;
    border-radius: 22px;
  }

  .intro-card h2 {
    font-size: 18px;
  }

  .intro-card p {
    font-size: 14px;
    line-height: 1.85;
  }

  .section-card {
    border-radius: 22px;
  }

  .section-head {
    padding: 12px;
  }

  .section-head__right {
    grid-template-columns: 42px 1fr;
    gap: 10px;
  }

  .section-index {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 14px;
  }

  .toggle-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    flex-basis: 38px;
  }

  .section-title {
    font-size: 16px;
  }

  .section-subtitle {
    font-size: 11px;
  }

  .section-body__content {
    padding: 0 8px 10px;
  }

  .table-wrap {
    border-radius: 14px;
  }

  .pricing-table thead th {
    font-size: 12px;
    padding: 10px 5px;
    line-height: 1.35;
  }

  .pricing-table tbody td {
    font-size: 11.5px;
    padding: 10px 5px;
    line-height: 1.55;
  }

  .pricing-table td.col-no,
  .pricing-table th.col-no {
    width: 10%;
  }

  .pricing-table td.col-service,
  .pricing-table th.col-service {
    width: 55%;
  }

  .pricing-table td.col-price,
  .pricing-table th.col-price {
    width: 35%;
  }

  .footer-mini-brand p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .bank-title-ar {
    font-size: 21px;
  }

  .bank-subtitle {
    font-size: 12px;
  }

  .section-title {
    font-size: 15px;
  }

  .section-subtitle {
    font-size: 10px;
  }

  .pricing-table thead th {
    font-size: 11px;
    padding: 8px 4px;
  }

  .pricing-table tbody td {
    font-size: 10.5px;
    padding: 8px 4px;
    line-height: 1.5;
  }

  .pricing-table td.col-no,
  .pricing-table th.col-no {
    width: 9%;
  }

  .pricing-table td.col-service,
  .pricing-table th.col-service {
    width: 55%;
  }

  .pricing-table td.col-price,
  .pricing-table th.col-price {
    width: 36%;
  }

  .footer-socials a {
    width: 34px;
    height: 34px;
  }
}
.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}