@font-face {
  font-family: "Zain";
  src: url("./fonts/zain-arabic-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Zain";
  src: url("./fonts/zain-arabic-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Zain";
  src: url("./fonts/zain-latin-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: "Zain";
  src: url("./fonts/zain-latin-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

:root {
  --ink: #171613;
  --muted: #77736b;
  --paper: #fbfaf7;
  --line: rgba(23, 22, 19, 0.1);
  --champagne: #b69a6a;
}

* {
  box-sizing: border-box;
}

html {
  background: #eeece6;
}

body {
  margin: 0;
  color: var(--ink);
  background: #eeece6;
  font-family: "Zain", Tahoma, Arial, sans-serif;
}

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

button {
  font: inherit;
}

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 28px 18px;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(145deg, #f4f2ec 0%, #e9e5dd 55%, #f7f5f0 100%);
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.32;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.075'/%3E%3C/svg%3E");
}

.ambient {
  position: fixed;
  z-index: -2;
  border-radius: 999px;
  border: 1px solid rgba(182, 154, 106, 0.19);
  pointer-events: none;
}

.ambient-one {
  width: 430px;
  height: 430px;
  top: -230px;
  right: -140px;
}

.ambient-two {
  width: 300px;
  height: 300px;
  left: -155px;
  bottom: -150px;
}

.bio-card {
  position: relative;
  width: min(100%, 470px);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 34px;
  background: rgba(251, 250, 247, 0.87);
  box-shadow:
    0 30px 80px rgba(49, 43, 32, 0.12),
    inset 0 0 0 1px rgba(23, 22, 19, 0.025);
  backdrop-filter: blur(24px);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
}

.eyebrow {
  color: #8d887f;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.icon-button:hover {
  transform: translateY(-2px);
  background: #fff;
}

.icon-button svg,
.secondary-action svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 12px 24px;
}

.logo-frame {
  width: 100%;
  height: 128px;
  display: grid;
  place-items: center;
}

.logo-frame img {
  display: block;
  width: min(100%, 320px);
  height: auto;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  padding: 7px 11px;
  border: 1px solid rgba(182, 154, 106, 0.24);
  border-radius: 999px;
  color: #776b56;
  background: rgba(182, 154, 106, 0.07);
  font-size: 11px;
  font-weight: 700;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #89a86f;
  box-shadow: 0 0 0 4px rgba(137, 168, 111, 0.13);
}

.identity h1 {
  margin: 20px 0 8px;
  font-family: "Zain", Tahoma, Arial, sans-serif;
  font-size: clamp(31px, 8vw, 41px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}

.identity p {
  max-width: 355px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.actions {
  display: grid;
  gap: 12px;
}

.primary-action {
  min-height: 76px;
  display: grid;
  grid-template-columns: 46px 1fr 26px;
  gap: 13px;
  align-items: center;
  padding: 13px 17px;
  border-radius: 22px;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(23, 22, 19, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(23, 22, 19, 0.21);
}

.whatsapp-action {
  background: #1d654a;
  box-shadow: 0 14px 28px rgba(29, 101, 74, 0.17);
}

.whatsapp-action:hover {
  box-shadow: 0 18px 32px rgba(29, 101, 74, 0.23);
}

.social-action {
  min-height: 64px;
  display: grid;
  grid-template-columns: 42px 1fr 24px;
  gap: 12px;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-action:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 22, 19, 0.22);
  background: #fff;
}

.social-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: #171613;
  box-shadow: -2px 2px 0 rgba(37, 244, 238, 0.65), 2px -2px 0 rgba(254, 44, 85, 0.55);
}

.social-icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-copy strong {
  color: var(--ink);
}

.social-copy small {
  color: var(--muted);
}

.social-arrow {
  display: grid;
  place-items: center;
  direction: ltr;
}

.social-arrow svg {
  width: 18px;
  fill: none;
  stroke: #9b968d;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.action-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
}

.action-icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.action-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.action-copy strong {
  font-size: 14px;
  font-weight: 700;
}

.action-copy small {
  width: fit-content;
  color: rgba(255, 255, 255, 0.58);
  font-family: Arial, sans-serif;
  font-size: 11px;
  direction: ltr;
}

.arrow {
  display: grid;
  place-items: center;
  direction: ltr;
}

.arrow svg {
  width: 19px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.62);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.secondary-action {
  min-height: 55px;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.secondary-action:hover {
  border-color: rgba(182, 154, 106, 0.55);
  background: #fff;
}

.contact-card {
  margin-top: 14px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

.contact-card b {
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
}

footer {
  min-height: 44px;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #99948a;
  font-family: Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.footer-mark {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 22, 19, 0.16);
  border-radius: 50%;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 10px;
}

.footer-separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--champagne);
}

.toast {
  position: fixed;
  z-index: 10;
  left: 50%;
  bottom: 24px;
  min-width: 180px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(23, 22, 19, 0.94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  text-align: center;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

@media (max-width: 520px) {
  .page-shell {
    place-items: stretch;
    padding: 0;
    overflow-y: auto;
  }

  .bio-card {
    min-height: 100svh;
    width: 100%;
    padding: 20px 18px 16px;
    border: 0;
    border-radius: 0;
    background: rgba(251, 250, 247, 0.82);
    box-shadow: none;
  }

  .identity {
    padding-top: 8px;
    padding-bottom: 20px;
  }

  .logo-frame {
    height: 116px;
  }

  .logo-frame img {
    width: min(92%, 310px);
  }

  .identity h1 {
    margin-top: 17px;
  }
}

@media (max-height: 760px) and (min-width: 521px) {
  .page-shell {
    align-items: start;
  }
}

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