:root {
  --plum: #ffffff;
  --plum-deep: #ffffff;
  --plum-soft: #e5c8df;
  --orange: #f6993f;
  --coral: #e65b4b;
  --sand: #f3e3d2;
  --paper: #fffaf6;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #5b2f70;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: #5b2f70;
  font-family: "DIN Next Arabic", "Frutiger LT Arabic", "Noto Sans Arabic",
    Tahoma, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -18%, rgba(255, 190, 158, 0.23), transparent 40%),
    linear-gradient(180deg, #c74d48 0%, #9c4359 29%, #763c6d 57%, #5b2f70 100%);
}

.page-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
}

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

.aurora {
  position: absolute;
  z-index: -2;
  display: block;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
  animation: float 11s ease-in-out infinite;
}

.aurora-one {
  width: 310px;
  height: 310px;
  top: -120px;
  right: -105px;
  background: radial-gradient(circle, rgba(255, 177, 130, 0.26), rgba(255, 177, 130, 0));
}

.aurora-two {
  width: 390px;
  height: 390px;
  bottom: -170px;
  left: -140px;
  background: radial-gradient(circle, rgba(198, 102, 137, 0.24), rgba(198, 102, 137, 0));
  animation-delay: -4s;
}

.aurora-three {
  width: 230px;
  height: 230px;
  top: 42%;
  left: -120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  animation-delay: -7s;
}

.story {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 3.2svh, 38px) 0 18px;
}

.story::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 118px;
  height: 5px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--orange), var(--coral), var(--plum));
  box-shadow: 0 7px 20px rgba(98, 49, 111, 0.22);
  transform: translateX(-50%);
}

.brand-header,
.social-links,
footer {
  width: min(calc(100% - 28px), 530px);
  margin-inline: auto;
}

.brand-header {
  text-align: center;
}

.logo-stage {
  position: relative;
  width: 130px;
  height: 136px;
  display: grid;
  place-items: center;
  margin: 0 auto 1px;
}

.logo-ring {
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 26%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08) 55%, rgba(255, 255, 255, 0.03));
  box-shadow:
    0 22px 48px rgba(51, 19, 59, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
}

.logo-ring::before,
.logo-ring::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  transform: rotate(45deg);
}

.logo-ring::before {
  top: 11px;
  right: 12px;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(246, 153, 63, 0.12);
}

.logo-ring::after {
  bottom: 12px;
  left: 12px;
  background: var(--plum);
  box-shadow: 0 0 0 6px rgba(98, 49, 111, 0.1);
}

.brand-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 78px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 8px 12px rgba(44, 13, 52, 0.18));
}

.eyebrow {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 7px auto 8px;
  padding: 7px 14px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--plum);
  background: rgba(255, 255, 255, 0.09);
  box-shadow:
    0 9px 25px rgba(48, 16, 56, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: clamp(12px, 2.5vw, 14px);
  font-weight: 700;
  backdrop-filter: blur(16px);
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--orange), var(--coral));
  box-shadow: 0 0 0 4px rgba(246, 153, 63, 0.12);
}

.headline {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--plum-deep);
  font-size: clamp(24px, 5vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.headline strong {
  position: relative;
  margin-top: -1px;
  color: var(--plum);
  font-size: clamp(43px, 10vw, 62px);
  font-weight: 900;
  line-height: 1.14;
  text-shadow:
    0 4px 0 rgba(230, 91, 75, 0.88),
    0 9px 0 rgba(68, 28, 77, 0.22);
}

.headline strong::before,
.headline strong::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  transform: rotate(45deg);
}

.headline strong::before {
  top: 2px;
  right: -20px;
  border: 3px solid var(--orange);
}

.headline strong::after {
  bottom: 9px;
  left: -17px;
  background: var(--coral);
  box-shadow: -9px 9px 0 rgba(246, 153, 63, 0.48);
}

.intro {
  margin: 14px auto 15px;
  color: var(--muted);
  font-size: clamp(13px, 2.7vw, 15px);
  font-weight: 600;
  line-height: 1.75;
}

.social-links {
  position: relative;
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 32px;
  background: rgba(59, 25, 67, 0.18);
  box-shadow:
    0 28px 70px rgba(38, 13, 46, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(24px) saturate(1.2);
}

.social-links::before {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: -1;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0));
}

.social-link {
  --brand-a: var(--plum);
  --brand-b: var(--plum-soft);
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr 40px;
  align-items: center;
  min-height: 74px;
  padding: 8px 11px 8px 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 23px;
  color: var(--ink);
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.07));
  box-shadow:
    0 10px 24px rgba(37, 12, 44, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.17);
  text-decoration: none;
  opacity: 0;
  transform: translateY(15px);
  animation: card-in 0.52s cubic-bezier(0.2, 0.78, 0.24, 1) forwards;
  animation-delay: var(--delay);
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    background-color 200ms ease;
}

.social-link::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(circle at 92% 50%, color-mix(in srgb, var(--brand-a) 13%, transparent), transparent 42%);
  transition: opacity 200ms ease;
}

.social-link--instagram {
  --brand-a: #d42a79;
  --brand-b: #f69a36;
}

.social-link--x {
  --brand-a: #211927;
  --brand-b: #5a435f;
}

.social-link--tiktok {
  --brand-a: #111118;
  --brand-b: #f23d60;
}

.social-link--whatsapp {
  --brand-a: #19ae63;
  --brand-b: #65d890;
}

.social-link--website {
  --brand-a: #754184;
  --brand-b: #f29a44;
}

.social-link:hover {
  z-index: 2;
  transform: translateY(-3px) scale(1.008);
  border-color: color-mix(in srgb, var(--brand-a) 26%, transparent);
  background: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 18px 34px rgba(34, 10, 41, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.social-link:hover::before {
  opacity: 1;
}

.social-link:active {
  transform: scale(0.985);
}

.social-link:focus-visible {
  outline: 3px solid rgba(246, 153, 63, 0.75);
  outline-offset: 3px;
}

.icon-wrap {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-a), var(--brand-b));
  box-shadow:
    0 12px 25px color-mix(in srgb, var(--brand-a) 27%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -12px 22px rgba(0, 0, 0, 0.08);
  transform: translateZ(0);
}

.icon-wrap::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent 50%);
  pointer-events: none;
}

.social-link--tiktok .icon-wrap {
  box-shadow:
    -4px 4px 0 rgba(35, 213, 223, 0.7),
    4px -3px 0 rgba(254, 44, 85, 0.7),
    0 12px 25px rgba(17, 17, 24, 0.22);
}

.icon-wrap svg {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.1));
}

.icon-wrap svg .filled {
  fill: currentColor;
  stroke: none;
}

.icon-wrap small {
  position: absolute;
  z-index: 3;
  top: -6px;
  left: -6px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--orange), var(--coral));
  box-shadow: 0 4px 10px rgba(230, 91, 75, 0.22);
  font-size: 10px;
  font-weight: 900;
}

.link-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-inline: 4px 12px;
}

.link-copy b {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -0.01em;
}

.link-copy span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arrow {
  position: relative;
  z-index: 1;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: var(--plum);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition:
    transform 200ms ease,
    color 200ms ease,
    background-color 200ms ease;
}

.arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-link:hover .arrow {
  color: #fff;
  background: linear-gradient(145deg, var(--brand-a), var(--brand-b));
  transform: translateX(-4px);
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11.5px;
  font-weight: 600;
}

footer p {
  margin: 0;
}

footer a {
  text-decoration: none;
}

.footer-mark {
  color: var(--orange);
  font-size: 9px;
}

.sadu-pattern {
  position: absolute;
  z-index: -1;
  width: 170px;
  height: 170px;
  opacity: 0.11;
  transform: rotate(45deg);
  background:
    linear-gradient(90deg, transparent 42%, var(--plum) 42% 58%, transparent 58%),
    linear-gradient(transparent 42%, var(--orange) 42% 58%, transparent 58%);
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

.pattern-one {
  top: 3%;
  right: -84px;
}

.pattern-two {
  bottom: -1%;
  left: -82px;
  transform: rotate(225deg);
}

@keyframes card-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, 13px, 0) scale(1.035);
  }
}

@media (max-width: 420px) {
  .story {
    justify-content: flex-start;
    padding: max(12px, env(safe-area-inset-top)) 0
      max(12px, env(safe-area-inset-bottom));
  }

  .brand-header,
  .social-links,
  footer {
    width: calc(100% - 16px);
  }

  .logo-stage {
    width: 110px;
    height: 114px;
  }

  .brand-logo {
    width: 67px;
  }

  .eyebrow {
    margin-top: 5px;
    padding-block: 6px 7px;
    font-size: 11.5px;
  }

  .headline {
    font-size: 21px;
  }

  .headline strong {
    font-size: 42px;
  }

  .intro {
    margin-block: 10px 12px;
    font-size: 12.5px;
  }

  .social-links {
    gap: 8px;
    padding: 9px;
    border-radius: 27px;
  }

  .social-link {
    min-height: 65px;
    grid-template-columns: 49px 1fr 34px;
    padding: 7px 9px 7px 10px;
    border-radius: 19px;
  }

  .icon-wrap {
    width: 45px;
    height: 45px;
    border-radius: 14px;
  }

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

  .link-copy {
    padding-inline-start: 9px;
  }

  .link-copy b {
    font-size: 14.5px;
  }

  .link-copy span {
    font-size: 11.5px;
  }

  .arrow {
    width: 31px;
    height: 31px;
  }

  footer {
    margin-top: 11px;
    font-size: 10.5px;
  }
}

@media (max-height: 720px) and (max-width: 520px) {
  .story {
    padding-top: 8px;
  }

  .logo-stage {
    width: 88px;
    height: 90px;
  }

  .brand-logo {
    width: 55px;
  }

  .eyebrow {
    margin-block: 3px;
  }

  .headline strong {
    font-size: 36px;
  }

  .intro {
    margin-block: 7px 8px;
  }

  .social-link {
    min-height: 57px;
  }

  .icon-wrap {
    width: 40px;
    height: 40px;
  }
}

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