:root {
  --navy-950: #060d18;
  --navy-900: #0a1628;
  --navy-800: #12243d;
  --navy-700: #1c3554;
  --gold: #c9a227;
  --gold-light: #e4c76a;
  --cream: #f6f3eb;
  --cream-muted: #d8d2c4;
  --text: #e8edf4;
  --text-muted: #9fb0c8;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --font: "Tajawal", system-ui, sans-serif;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #fff;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3rem;
  background: var(--gold);
  color: var(--navy-900);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  z-index: 100;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: rgba(6, 13, 24, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
  flex-wrap: wrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  order: 2;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  background: rgba(201, 162, 39, 0.08);
  color: var(--gold-light);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lang-toggle:hover {
  background: rgba(201, 162, 39, 0.18);
  border-color: var(--gold);
}

.site-header.scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

body.lang-en {
  --font: "Source Sans 3", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
}

body.lang-en h1,
body.lang-en h2,
body.lang-en .brand-name {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}

.brand:hover {
  color: #fff;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--gold), #8a6d14);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  transform: rotate(45deg);
}

.brand-mark.sm {
  width: 32px;
  height: 32px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-weight: 800;
  font-size: 1.15rem;
}

.brand-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a:not(.btn) {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:not(.btn):hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-900);
  box-shadow: 0 12px 32px rgba(201, 162, 39, 0.35);
}

.btn-gold:hover {
  color: var(--navy-900);
  box-shadow: 0 16px 40px rgba(201, 162, 39, 0.5);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: #fff;
}

.btn-navy {
  background: var(--navy-700);
  color: #fff;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 0.85rem 1.6rem;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(201, 162, 39, 0.12), transparent),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(28, 53, 84, 0.8), transparent),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  font-weight: 800;
}

.hero h1 .accent {
  color: var(--gold-light);
}

.lead {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 36rem;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 1.35rem;
  color: var(--gold-light);
}

.hero-stats span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-card {
  display: flex;
  justify-content: center;
}

.card-inner {
  width: min(100%, 340px);
  aspect-ratio: 4/5;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border: 1px solid rgba(201, 162, 39, 0.25);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
}

.scales-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.12);
  border: 2px solid rgba(201, 162, 39, 0.4);
  position: relative;
}

.scales-icon::before,
.scales-icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
}

.scales-icon::before {
  width: 2px;
  height: 36px;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
}

.scales-icon::after {
  width: 48px;
  height: 2px;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  box-shadow: -18px 28px 0 var(--gold), 18px 28px 0 var(--gold);
}

.card-inner p {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.card-inner span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--navy-900);
}

.section-label {
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}

.section h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1rem;
  font-weight: 800;
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-head.centered {
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.split p {
  color: var(--text-muted);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-list li {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
}

.feature-icon {
  font-weight: 800;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature-list h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.feature-list p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(6, 13, 24, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: rgba(201, 162, 39, 0.35);
  transform: translateY(-4px);
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-card-highlight {
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.15), rgba(10, 22, 40, 0.9));
  border-color: rgba(201, 162, 39, 0.35);
}

.service-card-highlight .btn {
  margin-top: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.value-item {
  padding: 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border-top: 3px solid var(--gold);
}

.value-item h3 {
  margin: 0 0 0.5rem;
}

.value-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cta-band {
  padding: 3.5rem 0;
  background: linear-gradient(90deg, var(--navy-800), var(--navy-700));
  border-block: 1px solid rgba(201, 162, 39, 0.2);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-inner h2 {
  margin: 0 0 0.35rem;
  font-size: 1.75rem;
}

.cta-inner p {
  margin: 0;
  color: var(--text-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.contact-list li {
  margin-bottom: 1.25rem;
}

.contact-label {
  display: block;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.hint {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  background: var(--navy-900);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--navy-950);
  color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  border-color: transparent;
}

.contact-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--navy-950);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .split,
  .cards-grid,
  .values-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .card-inner {
    aspect-ratio: auto;
    min-height: 200px;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav .btn {
    text-align: center;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .trust-inner {
    flex-direction: column;
    gap: 0.75rem;
  }

  .digital-grid {
    grid-template-columns: 1fr !important;
  }

  .process-steps {
    grid-template-columns: 1fr !important;
  }
}

/* Trust bar */
.trust-bar {
  background: linear-gradient(90deg, var(--navy-800), var(--navy-900));
  border-block: 1px solid rgba(201, 162, 39, 0.15);
  padding: 1rem 0;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trust-inner span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-inner span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Service icons */
.svc-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.svc-icon.gold {
  background: rgba(201, 162, 39, 0.25);
}

/* Process */
.process-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.process-steps li {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
}

.step-num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-900);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.process-steps h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.process-steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Digital section */
.digital-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.digital-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.digital-mock {
  display: flex;
  justify-content: center;
}

.mock-screen {
  width: min(100%, 320px);
  padding: 1.5rem;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border: 1px solid rgba(201, 162, 39, 0.3);
  box-shadow: var(--shadow);
}

.mock-bar {
  height: 8px;
  width: 40%;
  border-radius: 4px;
  background: var(--gold);
  margin-bottom: 1.25rem;
  opacity: 0.7;
}

.mock-line {
  height: 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 0.65rem;
}

.mock-line.w90 { width: 90%; }
.mock-line.w70 { width: 70%; }
.mock-line.w80 { width: 80%; }

.mock-badge {
  margin-top: 1rem;
  height: 36px;
  width: 55%;
  border-radius: 8px;
  background: rgba(201, 162, 39, 0.2);
  border: 1px solid rgba(201, 162, 39, 0.4);
}

/* FAQ */
.faq-wrap {
  max-width: 720px;
  margin-inline: auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(6, 13, 24, 0.4);
  padding: 0 1.25rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1rem 0;
  list-style: none;
  color: var(--cream);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: inline-end;
  color: var(--gold);
  font-size: 1.25rem;
}

html[dir="rtl"] .faq-item summary::after {
  float: inline-start;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-bottom: 0.5rem;
}

.footer-disclaimer {
  margin: 0.5rem 0 0 !important;
  font-size: 0.8rem !important;
  max-width: 28rem;
  line-height: 1.5;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 {
  transition-delay: 0.15s;
}

@media (max-width: 960px) {
  .digital-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-nav {
    order: 3;
    width: 100%;
  }

  .header-inner {
    justify-content: space-between;
  }
}
