:root {
  --ink: #0a070c;
  --ink2: #16101a;
  --ash: #c9bdb0;
  --ash-dim: #8f8378;
  --ember: #c45c3e;
  --gold: #e6c07b;
  --seam: rgba(230, 192, 123, 0.22);
  --font: "Vazirmatn", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: #f3ebe3;
  background: var(--ink);
  line-height: 1.65;
}

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

.top {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  background: linear-gradient(180deg, rgba(10, 7, 12, 0.92), rgba(10, 7, 12, 0.35), transparent);
}
.top-brand {
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--gold);
}
.top-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.92rem;
  color: var(--ash);
}
.top-nav a:hover { color: #fff; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: start;
  padding: 6.5rem 1.4rem 3.5rem;
  overflow: hidden;
  background: #0a070c;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: 0;
  animation: ken 22s ease-in-out infinite alternate;
}
@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 7, 12, 0.78) 0%, rgba(10, 7, 12, 0.45) 42%, rgba(10, 7, 12, 0.82) 100%);
  pointer-events: none;
}
.hero-veil {
  display: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 38rem;
  animation: rise 0.9s ease-out both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.brand {
  margin: 0 0 0.75rem;
  font-size: clamp(3rem, 11vw, 5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}
.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 3.6vw, 1.85rem);
  font-weight: 800;
  line-height: 1.45;
  color: #fff8f0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}
.lead {
  margin: 0 0 1.6rem;
  color: #e8ddd0;
  font-size: 1.05rem;
  max-width: 30rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 12px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: linear-gradient(135deg, var(--ember), #9a3d2a);
  color: #fff8f2;
  box-shadow: 0 12px 30px rgba(196, 92, 62, 0.35);
}
.btn.download {
  border-color: rgba(230, 192, 123, 0.55);
  color: var(--gold);
  background: rgba(10, 7, 12, 0.45);
  backdrop-filter: blur(6px);
}
.btn.download:hover {
  background: rgba(230, 192, 123, 0.16);
}

.feature {
  display: grid;
  gap: 1.25rem;
  padding: 3.5rem 1.4rem;
  max-width: 68rem;
  margin: 0 auto;
}
.feature-media {
  overflow: hidden;
  border-radius: 0;
}
.feature-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
}
.feature-copy h2 {
  margin: 0 0 0.55rem;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--gold);
}
.feature-copy p {
  margin: 0 0 1.1rem;
  color: var(--ash);
  font-size: 1.05rem;
  max-width: 36rem;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 1.4rem 2.5rem;
  border-top: 1px solid var(--seam);
  color: var(--ash-dim);
  font-size: 0.9rem;
}

@media (min-width: 860px) {
  .feature {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 2.5rem;
    padding: 4.5rem 1.8rem;
  }
  .feature.reverse {
    direction: ltr;
  }
  .feature.reverse .feature-copy {
    direction: rtl;
  }
  .feature-media img {
    min-height: 22rem;
  }
}

@media (max-width: 640px) {
  .top-nav a:nth-child(1),
  .top-nav a:nth-child(2) { display: none; }
  .hero { padding-top: 5.5rem; }
}
