:root {
  --bg: #fff7ea;
  --paper: rgba(255, 250, 241, 0.82);
  --paper-strong: rgba(58, 180, 181, 0.10);
  --ink: #2b1d17;
  --muted: #704d3c;
  --line: rgba(120, 72, 39, 0.14);
  --accent-orange: #3ab45b;
  --accent-red: #3ab45b;
  --accent-green: #2d7f42;
  --accent-gold: #c8efcf;
  --shadow: 0 24px 80px rgba(39, 118, 59, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Noto Kufi Arabic", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(168, 226, 226, 0.55), transparent 32%),
    radial-gradient(circle at top right, rgba(58, 180, 181, 0.22), transparent 28%),
    linear-gradient(180deg, #eefafa 0%, #fffaf1 42%, #f2fbfb 100%);
  position: relative;
  overflow-x: hidden;
}

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

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

.page-glow {
  position: fixed;
  inset: auto;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  filter: blur(32px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.page-glow-left {
  top: -6rem;
  left: -5rem;
  background: rgba(168, 226, 226, 0.8);
}

.page-glow-right {
  right: -6rem;
  bottom: 8rem;
  background: rgba(58, 180, 181, 0.16);
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 1rem;
}

.hero-card,
.links-panel,
.note-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card {
  border-radius: 34px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
  overflow: hidden;
  position: relative;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 251, 244, 0.18) 0%,
    rgba(255, 251, 244, 0.42) 46%,
    rgba(255, 251, 244, 0.76) 100%
  );
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.share-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(58, 180, 91, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent-green);
  box-shadow: 0 14px 30px rgba(39, 118, 59, 0.12);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.share-button:hover,
.share-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(58, 180, 91, 0.38);
  box-shadow: 0 18px 36px rgba(39, 118, 59, 0.16);
  outline: none;
}

.share-icon {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #3ab4b5f5;
  color: #ffffff;
}

.share-icon svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.share-label {
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -3rem -4rem auto;
  width: 14rem;
  height: 14rem;
  background:
    radial-gradient(circle, rgba(58, 180, 91, 0.2) 0 48%, transparent 49% 100%),
    radial-gradient(circle, rgba(45, 127, 66, 0.14) 0 32%, transparent 33% 100%);
  background-size: 7rem 7rem, 11rem 11rem;
  background-repeat: no-repeat;
  background-position: right bottom, center center;
  opacity: 0.9;
}

.hero-copy,
.hero-visual,
.links-panel,
.note-card {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
}

h1,
h2 {
  font-family: "Fraunces", serif;
  margin: 0;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3rem, 8vw, 5.7rem);
  letter-spacing: -0.06em;
  max-width: 10ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.arabic {
  margin: 0.8rem 0 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--accent-green);
  font-weight: 700;
}

.intro {
  max-width: 45ch;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.96rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.chips span {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(120, 72, 39, 0.08);
  color: var(--ink);
  font-size: 0.82rem;
}

.hero-visual {
  display: grid;
  align-content: center;
  gap: 1rem;
  justify-items: start;
  padding: 1.25rem;
}

.avatar-ring {
  width: min(100%, 160px);
  height: min(100%, 160px);
  aspect-ratio: 1;
  margin-right: auto;
  padding: 0.7rem;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(168, 226, 226, 0.75), rgba(58, 180, 181, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.4));
  box-shadow: 0 18px 60px rgba(58, 180, 181, 0.22);
  transform: rotate(4deg);
}

.avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transform: rotate(-4deg);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.stats div {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(120, 72, 39, 0.08);
}

.stats strong {
  display: block;
  font-size: 1.5rem;
  color: var(--accent-orange);
}

.stats span {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.links-panel {
  margin-top: 1rem;
  border-radius: 34px;
  padding: 1.5rem;
  background: linear-gradient(rgba(255, 251, 244, 0.92), rgba(255, 251, 244, 0.92));
  background-size: auto, 240px;
  background-position: center, center;
  background-repeat: repeat, repeat;
  border-color: rgba(58, 180, 91, 0.18);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.1rem;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.social-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.05rem;
  min-height: 96px;
  border-radius: 24px;
  background: var(--paper-strong);
  border: 1px solid rgba(120, 72, 39, 0.1);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(120, 72, 39, 0.22);
  box-shadow: 0 22px 40px rgba(121, 68, 33, 0.14);
  outline: none;
}

.primary-link {
  background: var(--paper-strong);
  color: inherit;
}

.primary-link .text-wrap small,
.primary-link .arrow {
  color: inherit;
}

.icon-wrap {
  width: 3.15rem;
  height: 3.15rem;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: white;
  flex-shrink: 0;
}

.icon-wrap svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: currentColor;
}

.instagram {
  background: #3ab4b5f5;
}

.facebook {
  background: #3ab4b5f5;
}

.tiktok {
  background: #3ab4b5f5;
}

.whatsapp {
  background: #3ab4b5f5;
}

.menu {
  background: #3ab4b5f5;
}

.phone {
  background: #3ab4b5f5;
}

.location {
  background: #3ab4b5f5;
}

.text-wrap strong {
  display: block;
  font-size: 1rem;
}

.text-wrap small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.78rem;
}

.arrow {
  font-size: 1.15rem;
  color: var(--accent-orange);
}

.note-card {
  margin-top: 1rem;
  border-radius: 26px;
  padding: 1rem 1.2rem;
}

.note-card p,
.footer p {
  margin: 0;
}

.note-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.86rem;
}

.note-card a {
  color: var(--accent-red);
  font-weight: 700;
}

.footer {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 2rem;
  color: rgba(43, 29, 23, 0.7);
  font-size: 0.78rem;
}

.share-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translate(-50%, 1rem);
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: rgba(43, 29, 23, 0.9);
  color: #ffffff;
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  z-index: 10;
}

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

@media (max-width: 860px) {
  .hero-card {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0.75rem;
  }

  .avatar-ring {
    margin: 0 auto;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 1rem, 1100px);
    padding-top: 0.75rem;
  }

  .hero-card,
  .links-panel {
    padding: 1.15rem;
    border-radius: 28px;
  }

  .note-card {
    padding: 1rem;
  }

  .share-button {
    top: 0.85rem;
    right: 0.85rem;
    padding: 0.65rem 0.9rem;
  }

  .share-label {
    display: none;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.5rem, 15vw, 4rem);
  }

  .social-link {
    grid-template-columns: auto 1fr;
  }

  .arrow {
    display: none;
  }
}
