/* Wealth Digital — Design system */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #050a1a;
  --navy-mid: #0a1a3a;
  --navy-light: #10224a;
  --navy-card: rgba(16, 34, 74, 0.45);
  --gold: #c5a880;
  --gold-bright: #e5d3b3;
  --gold-deep: #a8813c;
  --gold-gradient: linear-gradient(135deg, #bf953f 0%, #fcf6ba 35%, #b38728 65%, #aa771c 100%);
  --text: #e8eaef;
  --text-muted: #8b9cb8;
  --white: #ffffff;
  --glass-border: rgba(197, 168, 128, 0.18);
  --glass-bg: rgba(10, 26, 58, 0.55);
  --navbar-height: 84px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --shadow-gold: 0 8px 32px rgba(191, 149, 63, 0.18);
  --shadow-deep: 0 24px 64px rgba(0, 0, 0, 0.45);
  --font-ar: 'Tajawal', sans-serif;
  --font-en: 'Montserrat', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  font-family: var(--font-ar);
  line-height: 1.75;
  color: var(--text);
  background: var(--navy);
  overflow-x: hidden;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body.lang-en {
  font-family: var(--font-en);
  line-height: 1.65;
}

body.lang-en .section-title,
body.lang-en .hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

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

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

::selection {
  background: rgba(197, 168, 128, 0.35);
  color: var(--white);
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glass card utility */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 3px;
  width: 0%;
  background: var(--gold-gradient);
  z-index: 10001;
  transition: width 0.1s linear;
}

/* Buttons */
.btn {
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.4s var(--ease-out);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

[dir="rtl"] .btn svg {
  transform: scaleX(-1);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

[dir="rtl"] .btn-primary:hover svg {
  transform: scaleX(-1) translateX(4px);
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(191, 149, 63, 0.4);
}

.btn-secondary {
  background: rgba(197, 168, 128, 0.06);
  color: var(--gold-bright);
  border-color: rgba(197, 168, 128, 0.4);
}

.btn-secondary:hover {
  background: rgba(197, 168, 128, 0.14);
  border-color: rgba(197, 168, 128, 0.65);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
  margin-top: 16px;
}

/* Sections */
.section {
  padding: 110px 0;
  position: relative;
}

.section-header {
  margin-bottom: 56px;
  max-width: 720px;
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-header--center .section-lead {
  margin-inline: auto;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-kicker::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold-gradient);
}

.section-header--center .section-kicker::before {
  display: none;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.2;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.highlight-box {
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold-gradient);
}

.highlight-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid rgba(197, 168, 128, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 20px;
}

.highlight-icon svg {
  width: 24px;
  height: 24px;
}

.highlight-box h3 {
  color: var(--gold-bright);
  font-size: 1.35rem;
  margin-bottom: 14px;
  line-height: 1.4;
}

.highlight-box p {
  color: #d1d9e6;
  font-size: 1rem;
  line-height: 1.85;
}

.vision-quote {
  margin-top: 28px;
  padding: 24px 28px;
  border-inline-start: 3px solid var(--gold);
  background: rgba(197, 168, 128, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--gold-bright);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.8;
}

[dir="ltr"] .vision-quote {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 28px;
  inset-inline-end: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--navy);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.35s var(--ease-out);
  z-index: 900;
  box-shadow: var(--shadow-gold);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top:hover {
  transform: translateY(-4px);
}
