:root {
  --brand-blue: #07395b;
  --brand-blue-2: #0d4f78;
  --brand-red: #d30e16;
  --brand-red-2: #f02c31;
  --ink: #102132;
  --muted: #667789;
  --line: #dce5ee;
  --soft: #f5f8fb;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 57, 91, 0.14);
  --radius: 8px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
}

main {
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: calc(100% - 32px);
  max-width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(7, 57, 91, 0.08);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 35px rgba(7, 57, 91, 0.08);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-logo {
  width: 232px;
  height: 76px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-blue);
  font-weight: 700;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: var(--radius);
  line-height: 1.2;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--brand-red);
  background: rgba(211, 14, 22, 0.07);
}

.main-nav .nav-language {
  margin-inline-start: 8px;
  color: var(--white);
  background: var(--brand-blue);
}

.main-nav .nav-language:hover {
  color: var(--white);
  background: var(--brand-red);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--brand-blue);
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  border-radius: 999px;
}

.hero-section {
  position: relative;
  min-height: auto;
  padding: 132px 0 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(7, 57, 91, 0.06) 0%, rgba(255, 255, 255, 0) 48%),
    radial-gradient(circle at 12% 20%, rgba(211, 14, 22, 0.12), transparent 28%),
    var(--white);
}

.hero-bg-mark {
  position: absolute;
  inset-inline-start: -160px;
  inset-block-start: 18%;
  width: 520px;
  height: 520px;
  border: 70px solid rgba(7, 57, 91, 0.05);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: 56px;
}

.hero-copy,
.hero-copy h1,
.hero-text {
  max-width: 100%;
}

body.is-english .hero-copy h1 {
  max-width: 650px;
  font-size: clamp(2.45rem, 4.3vw, 4.15rem);
  line-height: 1.14;
}

body.is-english .hero-text {
  max-width: 650px;
}

.hero-grid > *,
.split-section > *,
.wallet-panel > *,
.contact-grid > * {
  min-width: 0;
}

.hero-overline,
.section-label {
  margin: 0 0 14px;
  color: var(--brand-red);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy h1,
.section h2 {
  margin: 0;
  color: var(--brand-blue);
  font-size: clamp(2.35rem, 5.2vw, 5.1rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-text {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--brand-red);
  box-shadow: 0 16px 30px rgba(211, 14, 22, 0.24);
}

.btn-primary:hover {
  background: #b90c13;
  box-shadow: 0 18px 34px rgba(211, 14, 22, 0.32);
}

.btn-secondary {
  color: var(--brand-blue);
  background: var(--white);
  border-color: rgba(7, 57, 91, 0.18);
}

.btn-secondary:hover {
  border-color: var(--brand-blue);
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.wallet-device {
  position: relative;
  width: min(100%, 330px);
  aspect-ratio: 0.55;
  padding: 16px;
  border-radius: 36px;
  background: linear-gradient(155deg, #0c3f63, #061f34 62%, #0c3656);
  box-shadow: var(--shadow);
}

.wallet-device::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  pointer-events: none;
}

.device-top {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 96px;
  height: 18px;
  border-radius: 0 0 16px 16px;
  background: #071c2f;
  transform: translateX(-50%);
  z-index: 3;
}

.device-screen {
  height: 100%;
  padding: 36px 18px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f8fbfd 0%, #eef4f8 100%);
  overflow: hidden;
}

.wallet-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--brand-blue);
  font-weight: 900;
}

.wallet-toolbar img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.wallet-balance {
  margin-top: 24px;
  padding: 22px;
  color: var(--white);
  background: linear-gradient(140deg, var(--brand-blue), var(--brand-blue-2));
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(7, 57, 91, 0.22);
}

.wallet-balance span,
.wallet-balance small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.wallet-balance strong {
  display: block;
  margin-top: 8px;
  font-size: 1.9rem;
  line-height: 1;
}

.wallet-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.wallet-actions span {
  display: grid;
  place-items: center;
  min-height: 54px;
  color: var(--brand-blue);
  background: var(--white);
  border: 1px solid rgba(7, 57, 91, 0.08);
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 800;
}

.transaction-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.transaction-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(7, 57, 91, 0.08);
  border-radius: 12px;
  font-size: 0.9rem;
}

.transaction-list strong {
  color: var(--brand-blue);
}

.hero-stat {
  position: absolute;
  width: 170px;
  padding: 16px;
  border-radius: var(--radius);
  color: var(--white);
  box-shadow: var(--shadow);
}

.hero-stat span,
.hero-stat strong {
  display: block;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-stat strong {
  margin-top: 4px;
  font-size: 1.1rem;
  font-weight: 900;
}

.stat-red {
  top: 88px;
  inset-inline-start: 0;
  background: var(--brand-red);
}

.stat-blue {
  bottom: 92px;
  inset-inline-end: 8px;
  background: var(--brand-blue);
}

body.is-english .stat-red {
  inset-inline-start: -72px;
}

body.is-english .stat-blue {
  inset-inline-end: -54px;
}

.section {
  padding: 96px 0;
}

.section h2 {
  font-size: clamp(2rem, 3.5vw, 3.35rem);
}

.split-section,
.goals-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 54px;
  align-items: start;
}

.about-section {
  background: var(--soft);
}

.about-content p,
.goals-intro p,
.wallet-copy p,
.contact-info p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 54px;
}

.mission-card,
.value-card {
  position: relative;
  min-height: 250px;
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(7, 57, 91, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 14px 44px rgba(7, 57, 91, 0.08);
}

.mission-card-dark {
  color: var(--white);
  background: var(--brand-blue);
}

.mission-card h3,
.value-card h3 {
  margin: 14px 0 12px;
  color: var(--brand-blue);
  font-size: 1.55rem;
  line-height: 1.3;
}

.mission-card-dark h3,
.mission-card-dark p {
  color: var(--white);
}

.mission-card p,
.value-card p {
  margin: 0;
  color: var(--muted);
}

.mission-card-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.card-number {
  color: var(--brand-red);
  font-weight: 900;
}

.mission-card-dark .card-number {
  color: #ffb5b8;
}

.section-heading {
  max-width: 660px;
  margin-bottom: 42px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.value-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(7, 57, 91, 0.05);
}

.value-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.goals-section {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(7, 57, 91, 0.98), rgba(7, 57, 91, 0.92)),
    var(--brand-blue);
}

.goals-section .section-label,
.goals-section h2 {
  color: var(--white);
}

.goals-intro p {
  color: rgba(255, 255, 255, 0.72);
}

.goals-list {
  display: grid;
  gap: 12px;
}

.goals-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.goals-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--brand-red);
  border-radius: var(--radius);
  font-weight: 900;
}

.goals-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.wallet-section {
  background: linear-gradient(180deg, var(--white), var(--soft));
}

.wallet-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.72fr);
  gap: 44px;
  align-items: center;
  padding: 48px;
  border: 1px solid rgba(7, 57, 91, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.wallet-panel::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 12px;
  background: var(--brand-red);
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.store-link {
  min-width: 178px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--brand-blue);
  border-radius: var(--radius);
  line-height: 1.25;
  transition: transform 180ms ease, background 180ms ease;
}

.store-link:hover {
  transform: translateY(-2px);
  background: var(--brand-red);
}

.store-link span,
.store-link strong {
  display: block;
}

.store-link span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.store-link strong {
  margin-top: 2px;
  font-size: 1.15rem;
  font-weight: 900;
}

.wallet-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  color: var(--white);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(211, 14, 22, 0.92), rgba(7, 57, 91, 0.96)),
    var(--brand-blue);
  box-shadow: 0 26px 60px rgba(7, 57, 91, 0.24);
  overflow: hidden;
}

.wallet-card::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  inset-block-start: -120px;
  inset-inline-start: -80px;
  border: 45px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.wallet-brand-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.wallet-brand-row img {
  width: 62px;
  height: 62px;
  padding: 6px;
  object-fit: contain;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
}

.wallet-brand-row span,
.wallet-brand-row strong {
  display: block;
  text-align: left;
}

.wallet-brand-row span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 700;
}

.wallet-brand-row strong {
  margin-top: 2px;
  font-size: 1.35rem;
  font-weight: 900;
}

.wallet-chip {
  position: relative;
  width: 54px;
  height: 40px;
  margin-top: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ffe7a1, #d6a23a);
}

.wallet-card-number {
  position: relative;
  margin-top: 22px;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  direction: ltr;
  text-align: right;
}

.wallet-card-foot {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 800;
}

.contact-section {
  background: var(--white);
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--brand-blue);
  font-weight: 800;
}

.contact-methods a:hover {
  color: var(--brand-red);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid rgba(7, 57, 91, 0.08);
  border-radius: var(--radius);
  background: var(--soft);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--brand-blue);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  resize: vertical;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(7, 57, 91, 0.11);
}

.form-status {
  margin: 0;
  min-height: 24px;
  color: var(--brand-blue);
  font-weight: 800;
}

.site-footer {
  padding: 58px 0 24px;
  color: var(--white);
  background: #071f33;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.65fr 0.65fr;
  gap: 36px;
}

.footer-logo {
  width: 240px;
  height: 76px;
  object-fit: contain;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--white);
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 1.1rem;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.94rem;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 76px;
  }

  .brand-logo {
    width: 192px;
    height: 62px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 60;
  }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 50px rgba(7, 57, 91, 0.12);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 16px;
  }

  .main-nav .nav-language {
    margin-inline-start: 0;
    text-align: center;
  }

  .hero-section {
    padding-top: 116px;
  }

  .hero-bg-mark {
    display: none;
  }

  .hero-grid,
  .split-section,
  .goals-layout,
  .contact-grid,
  .wallet-panel {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

  .mission-grid,
  .value-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .wallet-panel {
    padding: 34px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 24px);
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 168px;
    height: 54px;
  }

  .hero-section {
    padding: 104px 0 52px;
  }

  .hero-copy h1 {
    font-size: 2rem;
    line-height: 1.18;
  }

  body.is-english .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-actions,
  .store-buttons {
    flex-direction: column;
  }

  .btn,
  .store-link {
    width: 100%;
  }

  .hero-visual {
    min-height: 440px;
    width: 100%;
    overflow: hidden;
  }

  .wallet-device {
    width: min(100%, 286px);
  }

  .hero-stat {
    display: none;
  }

  .section {
    padding: 70px 0;
  }

  .mission-card,
  .value-card,
  .contact-form,
  .wallet-panel {
    padding: 24px;
  }

  .goals-list article {
    grid-template-columns: 42px 1fr;
    padding: 14px;
  }

  .wallet-card {
    padding: 22px;
  }

  .wallet-card-number {
    font-size: 1rem;
  }
}
