@font-face {
  font-family: "SimahzazaarabicW05";
  src:
    url("assets/fonts/SimahzazaarabicW05-Light.woff2") format("woff2"),
    url("assets/fonts/SimahzazaarabicW05-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SimahzazaarabicW05";
  src:
    url("assets/fonts/SimahzazaarabicW05-Regular.woff2") format("woff2"),
    url("assets/fonts/SimahzazaarabicW05-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SimahzazaarabicW05";
  src:
    url("assets/fonts/SimahzazaarabicW05-Medium.woff2") format("woff2"),
    url("assets/fonts/SimahzazaarabicW05-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SimahzazaarabicW05";
  src:
    url("assets/fonts/SimahzazaarabicW05-SemiBold.woff2") format("woff2"),
    url("assets/fonts/SimahzazaarabicW05-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SimahzazaarabicW05";
  src:
    url("assets/fonts/SimahzazaarabicW05-Bold.woff2") format("woff2"),
    url("assets/fonts/SimahzazaarabicW05-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0e71fb;
  --blue-ink: #0a4fc0;
  --blue-soft: #e8f1ff;
  --bg: #f7f9fc;
  --white: #ffffff;
  --text: #0b1220;
  --muted: #5b6577;
  --line: #e2e8f0;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  --font: "SimahzazaarabicW05", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --radius: 28px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(
      ellipse 80% 50% at 100% 0%,
      rgba(14, 113, 251, 0.08),
      transparent 55%
    ),
    radial-gradient(
      ellipse 60% 40% at 0% 100%,
      rgba(14, 113, 251, 0.05),
      transparent 50%
    ),
    var(--bg);
  line-height: 1.75;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0 1.75rem;
}

/* ─── Header ─── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.lang {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.lang-btn {
  min-width: 56px;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.lang-btn.is-active {
  background: var(--blue);
  color: var(--white);
}

.lang-btn:focus-visible,
.social:focus-visible,
.tile:focus-visible {
  outline: 3px solid rgba(14, 113, 251, 0.4);
  outline-offset: 2px;
}

/* ─── Hero split ─── */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem 3.25rem;
  align-items: center;
}

.copy {
  min-width: 0;
  max-width: 36rem;
}

.name {
  margin: 0 0 1.25rem;
  font-size: clamp(2.55rem, 5.2vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.bio {
  margin: 0 0 1.85rem;
  max-width: none;
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 2;
}

/* Socials */
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: var(--white);
  border: 1px solid #f1f5f9;
  color: var(--blue);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
}

.social:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(14, 113, 251, 0.28);
}

/* Actions */
.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.tile {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.85rem;
  min-height: 96px;
  padding: 1.05rem 1.1rem;
  border-radius: 20px;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.tile:active,
.social:active {
  transform: scale(0.98);
}

.tile--wa {
  background: var(--white);
  border-color: var(--line);
}

.tile--wa .tile-icon {
  background: var(--blue-soft);
  color: var(--blue);
}

.tile--deal {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-ink) 100%);
  color: var(--white);
}

.tile--deal .tile-icon {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.tile--deal .tile-kicker,
.tile--deal .tile-meta {
  color: rgba(255, 255, 255, 0.82);
}

.tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  flex-shrink: 0;
}

.tile-body {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
  text-align: start;
}

.tile-kicker {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.tile-title {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
}

.tile-meta {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.1rem;
}

/* ─── Visual: blue layer + popping portrait ─── */
.visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 460px;
}

.visual-frame {
  position: relative;
  width: min(100%, 400px);
  height: 480px;
}

.blue-layer {
  position: absolute;
  left: 10%;
  right: 14%;
  top: 6%;
  bottom: 4%;
  border-radius: var(--radius);
  background: var(--blue);
  box-shadow: 0 24px 60px rgba(14, 113, 251, 0.35);
}

html[dir="ltr"] .blue-layer {
  left: 14%;
  right: 10%;
}

.portrait {
  position: absolute;
  z-index: 1;
  width: 78%;
  height: 92%;
  object-fit: cover;
  object-position: center 8%;
  border-radius: 24px;
  box-shadow: 0 28px 50px rgba(8, 40, 100, 0.25);
  /* Pop out: shifted toward outer top corner */
  top: 0;
  inset-inline-end: 0;
}

html[dir="rtl"] .portrait {
  right: 0;
  left: auto;
}

html[dir="ltr"] .portrait {
  left: auto;
  right: 0;
}

.foot {
  margin-top: 2rem;
  text-align: center;
}

.foot p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: #94a3b8;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
  }

  .visual {
    order: -1;
    width: 100%;
    min-height: 400px;
    justify-content: center;
  }

  .visual-frame {
    width: min(100%, 300px);
    height: 400px;
    margin-inline: auto;
  }

  .blue-layer,
  html[dir="ltr"] .blue-layer {
    left: 10%;
    right: 10%;
    top: 5%;
    bottom: 3%;
  }

  html[dir="ltr"] .blue-layer {
    left: 10%;
    right: 10%;
  }

  .portrait,
  html[dir="ltr"] .portrait,
  html[dir="rtl"] .portrait {
    width: 80%;
    height: 90%;
    left: 0;
    right: 0;
    inset-inline-start: auto;
    inset-inline-end: auto;
    margin-inline: auto;
  }

  .copy {
    width: 100%;
    max-width: 28rem;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .socials {
    justify-content: center;
  }

  .actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .tile {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.75rem;
    text-align: center;
    padding: 1.2rem 1.15rem;
  }

  .tile-icon {
    margin-inline: 0;
  }

  .tile-body {
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .shell {
    width: calc(100% - 1.5rem);
    padding-top: 1rem;
  }

  .visual {
    min-height: 320px;
  }

  .visual-frame {
    height: 320px;
  }

  .name {
    font-size: 2.2rem;
  }
}

/* ─── Motion ─── */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.reveal {
  opacity: 0;
  animation: fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

.reveal--visual {
  animation-name: fade-rise;
  animation-duration: 0.85s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--visual {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .social,
  .tile,
  .lang-btn {
    transition: none;
  }

  .social:hover,
  .tile:hover,
  .social:active,
  .tile:active {
    transform: none;
  }
}
