:root {
  color-scheme: light;
  --navy: #071d35;
  --navy-soft: #0d3153;
  --blue: #075985;
  --orange: #f47a20;
  --cream: #f7f4ee;
  --paper: #ffffff;
  --ink: #101f2e;
  --muted: #617080;
  --line: #e5e9ec;
  --shadow: 0 22px 70px rgba(7, 29, 53, 0.09);
  --radius: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(244, 122, 32, 0.09), transparent 28rem),
    radial-gradient(circle at 93% 27%, rgba(7, 89, 133, 0.09), transparent 30rem),
    linear-gradient(180deg, #fbfaf7 0%, var(--cream) 48%, #f2f5f6 100%);
  color: var(--ink);
  font-family: "DIN Next Arabic", "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  background-image:
    repeating-radial-gradient(ellipse at 10% 20%, transparent 0 38px, rgba(7, 89, 133, 0.035) 39px 40px, transparent 41px 61px),
    repeating-radial-gradient(ellipse at 90% 65%, transparent 0 46px, rgba(244, 122, 32, 0.03) 47px 48px, transparent 49px 72px);
  content: "";
  pointer-events: none;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  font: inherit;
}

svg,
img {
  display: block;
}

.site-header,
main,
footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  width: min(1180px, calc(100% - 32px));
  min-height: 82px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
}

.brand-copy {
  display: grid;
  direction: ltr;
  line-height: 1.15;
  text-align: left;
}

.brand-copy strong {
  color: var(--navy);
  font-family: Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  direction: rtl;
  font-size: 0.68rem;
  text-align: right;
}

.header-contact {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(7, 29, 53, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--navy);
  font-size: 0.79rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
  transition: transform 180ms var(--ease), background 180ms ease, border-color 180ms ease;
}

.header-contact svg {
  width: 18px;
  fill: #21a663;
}

.header-contact:hover {
  transform: translateY(-2px);
  border-color: rgba(33, 166, 99, 0.3);
  background: #fff;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.hero {
  max-width: 700px;
  margin: 54px auto 38px;
  text-align: center;
  animation: hero-in 720ms var(--ease) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(7, 89, 133, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(244, 122, 32, 0.12);
}

.hero h1 {
  margin: 18px 0 12px;
  color: var(--navy);
  font-size: clamp(2.25rem, 10vw, 4.7rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero h1 span {
  position: relative;
  display: inline-block;
  color: var(--orange);
}

.hero h1 span::after {
  position: absolute;
  right: 9%;
  bottom: -5px;
  width: 82%;
  height: 7px;
  border-radius: 100%;
  background: rgba(244, 122, 32, 0.15);
  content: "";
  transform: rotate(-1deg);
}

.hero > p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.98rem;
}

.trust-note {
  display: inline-flex;
  margin-top: 18px;
  align-items: center;
  gap: 7px;
  color: #28735c;
  font-size: 0.76rem;
  font-weight: 700;
}

.trust-note svg {
  width: 17px;
  height: 17px;
  padding: 3px;
  border-radius: 50%;
  background: #dff4ea;
  fill: #28735c;
}

.accounts {
  display: grid;
  max-width: 870px;
  margin: 0 auto;
  gap: 20px;
}

.bank-card {
  --bank: var(--blue);
  --bank-rgb: 7, 89, 133;
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(7, 29, 53, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.91);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms ease;
}

.bank-card::after {
  position: absolute;
  top: -85px;
  left: -75px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(var(--bank-rgb), 0.06);
  content: "";
  pointer-events: none;
}

.bank-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--bank-rgb), 0.18);
  box-shadow: 0 30px 80px rgba(7, 29, 53, 0.14);
}

.bank-alinma {
  --bank: #007b70;
  --bank-rgb: 0, 123, 112;
}

.bank-alrajhi {
  --bank: #123cc4;
  --bank-rgb: 18, 60, 196;
}

.bank-stc {
  --bank: #4f008c;
  --bank-rgb: 79, 0, 140;
}

.card-accent {
  position: absolute;
  top: 0;
  right: 30px;
  width: 76px;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: var(--bank);
}

.card-header {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bank-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.bank-symbol {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  border-radius: 16px;
  background: rgba(var(--bank-rgb), 0.09);
  color: var(--bank);
  font-size: 1.65rem;
  font-weight: 900;
}

.bank-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 140px;
  max-height: 65px;
}

.stc-symbol {
  background: var(--bank);
  color: #fff;
  direction: ltr;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: -0.06em;
}

.bank-kicker {
  display: block;
  margin-bottom: -2px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.bank-identity h2 {
  margin: 0;
  color: var(--bank);
  font-size: 1.28rem;
  line-height: 1.2;
}

.verified-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef8f3;
  color: #28735c;
  font-size: 0.68rem;
  font-weight: 800;
}

.verified-badge svg {
  width: 13px;
  fill: currentColor;
}

.card-body {
  display: grid;
  margin-top: 21px;
  gap: 18px;
}

.qr-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(var(--bank-rgb), 0.1);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(var(--bank-rgb), 0.065), rgba(var(--bank-rgb), 0.015));
}

.qr-frame {
  position: relative;
  width: 104px;
  height: 104px;
  flex: 0 0 104px;
  padding: 8px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(7, 29, 53, 0.08);
}

.qr-frame img {
  width: 100%;
  height: 100%;
}

.qr-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--bank);
  border-style: solid;
  pointer-events: none;
}

.corner-one {
  top: 3px;
  right: 3px;
  border-width: 2px 2px 0 0;
  border-radius: 0 6px 0 0;
}

.corner-two {
  top: 3px;
  left: 3px;
  border-width: 2px 0 0 2px;
  border-radius: 6px 0 0;
}

.corner-three {
  right: 3px;
  bottom: 3px;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 6px;
}

.corner-four {
  bottom: 3px;
  left: 3px;
  border-width: 0 0 2px 2px;
  border-radius: 0 0 0 6px;
}

.qr-panel p {
  display: grid;
  margin: 0;
  gap: 2px;
}

.qr-panel strong {
  color: var(--navy);
  font-size: 0.9rem;
}

.qr-panel p span {
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.45;
}

.account-details {
  display: grid;
  gap: 10px;
}

.detail-row {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fbfcfc;
  transition: border-color 180ms ease, background 180ms ease;
}

.detail-row:focus-within {
  border-color: rgba(var(--bank-rgb), 0.32);
  background: #fff;
}

.detail-label {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 700;
}

.detail-content {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.number-value,
.iban-value {
  min-width: 0;
  color: var(--navy);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.87rem, 4vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-align: left;
}

.iban-value {
  font-size: clamp(0.75rem, 3.45vw, 0.95rem);
  letter-spacing: 0.01em;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  cursor: pointer;
  place-items: center;
  border-radius: 11px;
  background: rgba(var(--bank-rgb), 0.08);
  color: var(--bank);
  transition: transform 160ms var(--ease), background 160ms ease;
}

.icon-button:hover {
  transform: scale(1.06);
  background: rgba(var(--bank-rgb), 0.14);
}

.icon-button svg,
.copy-all svg {
  width: 18px;
  fill: currentColor;
}

.check-icon {
  display: none;
}

.is-copied .copy-icon {
  display: none;
}

.is-copied .check-icon {
  display: block;
}

.copy-all {
  display: flex;
  width: 100%;
  min-height: 50px;
  margin-top: 14px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 16px;
  background: var(--bank);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: 0 9px 23px rgba(var(--bank-rgb), 0.2);
  transition: transform 180ms var(--ease), filter 180ms ease, box-shadow 180ms ease;
}

.copy-all:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: 0 13px 28px rgba(var(--bank-rgb), 0.26);
}

.copy-all:active,
.icon-button:active {
  transform: scale(0.98);
}

.security-note {
  display: flex;
  max-width: 870px;
  margin: 26px auto 0;
  align-items: flex-start;
  gap: 13px;
  padding: 19px 20px;
  border: 1px solid rgba(244, 122, 32, 0.19);
  border-radius: 21px;
  background: rgba(255, 251, 244, 0.9);
}

.security-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 13px;
  background: #fff0df;
  color: var(--orange);
}

.security-icon svg {
  width: 23px;
  fill: currentColor;
}

.security-note strong {
  display: block;
  color: var(--navy);
  font-size: 0.86rem;
}

.security-note p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
  text-align: right;
}

.security-note p + p {
  margin-top: 6px;
}

footer {
  display: grid;
  width: min(870px, calc(100% - 32px));
  margin: 56px auto 0;
  padding: 30px 0 calc(35px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(7, 29, 53, 0.09);
  gap: 15px;
  text-align: center;
}

.footer-brand {
  display: grid;
  gap: 1px;
}

.footer-brand strong {
  color: var(--navy);
  font-size: 0.86rem;
}

.footer-brand span {
  color: var(--muted);
  font-size: 0.68rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
}

.footer-links > span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.toast {
  position: fixed;
  z-index: 20;
  right: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  display: flex;
  min-width: 190px;
  max-width: calc(100% - 32px);
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(7, 29, 53, 0.95);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 18px) scale(0.96);
  box-shadow: 0 18px 50px rgba(7, 29, 53, 0.28);
  backdrop-filter: blur(18px);
  transition: opacity 220ms ease, transform 300ms var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(50%, 0) scale(1);
}

.toast-check {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: #2fb67f;
}

.toast-check svg {
  width: 15px;
  fill: #fff;
}

.cursor-glow {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(244, 122, 32, 0.38);
  outline-offset: 3px;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 700px) {
  .site-header,
  main {
    width: min(1180px, calc(100% - 64px));
  }

  .site-header {
    min-height: 96px;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-copy small {
    font-size: 0.75rem;
  }

  .header-contact {
    min-height: 45px;
    padding-inline: 17px;
    font-size: 0.83rem;
  }

  .hero {
    margin-top: 68px;
    margin-bottom: 50px;
  }

  .hero > p {
    font-size: 1.06rem;
  }

  .accounts {
    gap: 24px;
  }

  .bank-card {
    padding: 27px;
  }

  .card-body {
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: stretch;
    gap: 20px;
  }

  .qr-panel {
    grid-column: 2;
    grid-row: 1;
    flex-direction: column;
    text-align: center;
  }

  .account-details {
    grid-column: 1;
    grid-row: 1;
    align-content: center;
  }

  .qr-frame {
    width: 128px;
    height: 128px;
    flex-basis: 128px;
  }

  .detail-row {
    padding: 16px 17px;
  }

  .number-value,
  .iban-value {
    font-size: 1rem;
  }

  .copy-all {
    width: calc(100% - 240px);
  }

  footer {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    text-align: initial;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (min-width: 1040px) {
  .accounts {
    max-width: 1180px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .bank-card {
    display: flex;
    min-height: 603px;
    flex-direction: column;
  }

  .card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  .qr-panel {
    flex-direction: row;
    text-align: right;
  }

  .qr-frame {
    width: 110px;
    height: 110px;
    flex-basis: 110px;
  }

  .account-details {
    flex: 1;
  }

  .copy-all {
    width: 100%;
    margin-top: auto;
  }

  .security-note {
    max-width: 1180px;
  }

  footer {
    width: min(1180px, calc(100% - 64px));
  }
}

@media (hover: hover) and (pointer: fine) {
  body,
  a,
  button {
    cursor: none;
  }

  .cursor-glow {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    display: block;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(244, 122, 32, 0.8);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-50%, -50%, 0);
    transition: width 180ms var(--ease), height 180ms var(--ease), background 180ms ease, opacity 180ms ease;
  }

  .cursor-glow::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--orange);
    content: "";
    transform: translate(-50%, -50%);
  }

  .cursor-glow.is-active {
    width: 38px;
    height: 38px;
    background: rgba(244, 122, 32, 0.09);
  }

  .cursor-glow.is-visible {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .cursor-glow {
    display: none !important;
  }
}
