@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0e0c0a;
  --ink: #f7f1e6;
  --muted: #c4b8a4;
  --line: rgba(212, 168, 92, 0.28);
  --gold: #d4a85c;
  --gold-deep: #b8873a;
  --surface: rgba(22, 18, 14, 0.78);
  --font: "Vazirmatn", Tahoma, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  letter-spacing: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.landing {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  overflow: hidden;
}

.landing-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.landing-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: bg-drift 18s ease-in-out infinite alternate;
}

.landing-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(212, 168, 92, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(8, 6, 4, 0.72), rgba(8, 6, 4, 0.88) 55%, rgba(8, 6, 4, 0.94));
}

.landing-widget {
  position: relative;
  z-index: 2;
  width: min(440px, 100%);
  padding: 2.25rem 1.75rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  text-align: center;
  animation: widget-in 0.7s ease both;
}

.landing-brand {
  margin-bottom: 1.75rem;
}

.landing-logo {
  width: 96px;
  height: auto;
  margin-inline: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 8px 24px rgba(212, 168, 92, 0.25));
  animation: logo-in 0.8s ease both;
}

.landing-title {
  font-size: clamp(1.55rem, 4.5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.landing-tagline {
  margin-top: 0.45rem;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 500;
  animation: fade-up 0.7s ease 0.15s both;
}

.landing-info {
  display: grid;
  gap: 1rem;
  text-align: start;
  padding: 1.25rem 0;
  border-block: 1px solid var(--line);
  animation: fade-up 0.7s ease 0.28s both;
}

.landing-row {
  display: grid;
  gap: 0.2rem;
}

.landing-row dt {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
}

.landing-row dd {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.75;
}

.ltr-value {
  font-variant-numeric: tabular-nums;
}

.ltr-value a {
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ltr-value a:hover,
.ltr-value a:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
  outline: none;
}

.landing-trust {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding-top: 1.4rem;
  animation: fade-up 0.7s ease 0.4s both;
}

.landing-trust-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.enamad-link {
  display: inline-block;
  padding: 0.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.enamad-link:hover,
.enamad-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.enamad-link img {
  width: 88px;
  height: auto;
  margin-inline: auto;
}

.landing-copy {
  margin-top: 1.4rem;
  font-size: 0.78rem;
  color: var(--muted);
  animation: fade-up 0.7s ease 0.52s both;
}

@keyframes widget-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bg-drift {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

@media (prefers-reduced-motion: reduce) {
  .landing-bg img,
  .landing-widget,
  .landing-logo,
  .landing-tagline,
  .landing-info,
  .landing-trust,
  .landing-copy {
    animation: none;
  }

  .enamad-link {
    transition: none;
  }
}

@media (max-width: 420px) {
  .landing {
    padding: 1.25rem 0.85rem;
  }

  .landing-widget {
    padding: 1.75rem 1.2rem 1.35rem;
  }

  .landing-logo {
    width: 80px;
  }
}
